Skip to content
green · neutral

#081202

a deep, electric green · neutral · closest name: Black

Token name suggestion: Cellar Jade

RGB
8, 18, 2
HSL
98°, 80%, 4%
CMYK
56, 0, 89, 93
Luminance
0.0049

#081202 is a deep electric green, 98° on the wheel and 53/100 on the cool side. Put white text on it (19.13:1). As text it scores 19.13:1 on white — safe at any size. Nearest name is Black, nearest Tailwind family is neutral.

hsl(98 80% 4%)rgb(8 18 2)Base step 950AAA inkNeutral

At a glance

Every number on this page in one read: what #081202 is made of, how bright it looks, and which way it leans.

Hex
#081202
Hue
98°
green
Saturation
80%
electric
Lightness
4%
deep
Brightness
7%
HSV value
Perceived
6%
weighted brightness
Luminance
0.0049
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
White
19.13:1
Closest name
Black
ΔE2000 8.7
Chroma
8.0
LCH, 0–130ish
OKLCH L
0.167
perceptual lightness
Tailwind
neutral
500 · ΔE 33.7
Web-safe
#000000
nearest of 216
Where it sits
Hue98° of 360°
Saturation80%
Lightness4%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #081202.

Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red11%
Green89%
Blue1%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#081202
HEX (8-digit)#081202ff
RGBrgb(8, 18, 2)
RGBArgba(8, 18, 2, 1)
HSLhsl(98, 80%, 4%)
HSV / HSBhsv(98, 89%, 7%)
HWBhwb(98 1% 93%)
CMYKcmyk(56%, 0%, 89%, 93%)
LABlab(4.4 -5.6 5.7)
LCHlch(4.4 8.0 134.6)
OKLCHoklch(0.167 0.039 132.5)
XYZ (D65)xyz(0.33, 0.49, 0.13)
Decimal528898
Display P3color(display-p3 0.031 0.071 0.008)
Web-safe#000000

Copy-ready code

every platformclick to select
/* CSS */
color: #081202;
background-color: #081202;
/* CSS custom property */
--brand: #081202;
/* Tailwind (arbitrary) */
class="text-[#081202] bg-[#081202]"
/* SCSS */
$brand: #081202;
/* SwiftUI */
Color(red: 0.031, green: 0.071, blue: 0.008)
/* UIKit */
UIColor(red: 0.031, green: 0.071, blue: 0.008, alpha: 1)
/* Android XML */
<color name="brand">#081202</color>
/* Android Compose */
Color(0xFF081202)
/* Flutter */
Color(0xFF081202)
/* Python / OpenCV (BGR) */
(2, 18, 8)
/* Python / PIL (RGB) */
(8, 18, 2)
/* Java AWT */
new Color(8, 18, 2)
/* .NET */
Color.FromArgb(255, 8, 18, 2)
/* OpenGL / Unity (0–1) */
(0.0314f, 0.0706f, 0.0078f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{8,18,2}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #081202 85%, white);
border-color: color-mix(in oklab, #081202 40%, transparent);
/* theme-aware in one line */
color: light-dark(#33730D, #DDEED3);
/* relative colour syntax */
--hover: hsl(from #081202 h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F6FCF3;
  --brand-100: #EDF9E6;
  --brand-200: #D8F5C7;
  --brand-300: #BCF49A;
  --brand-400: #9AEE68;
  --brand-500: #78E935;
  --brand-600: #62DC18;
  --brand-700: #52B814;
  --brand-800: #419310;
  --brand-900: #326A10;
  --brand-950: #081202;
  --brand: #081202;
  --brand-ink: #ffffff;
  --brand-surface: #F7FAF4;
  --brand-border: #D1EDC0;
  --brand-hover: #000000;
  --brand-pressed: #000000;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #1A2414;
    --brand-ink: #DDEED3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F6FCF3',
        100: '#EDF9E6',
        200: '#D8F5C7',
        300: '#BCF49A',
        400: '#9AEE68',
        500: '#78E935',
        600: '#62DC18',
        700: '#52B814',
        800: '#419310',
        900: '#326A10',
        950: '#081202',
        DEFAULT: '#081202',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F6FCF3,
  '100': #EDF9E6,
  '200': #D8F5C7,
  '300': #BCF49A,
  '400': #9AEE68,
  '500': #78E935,
  '600': #62DC18,
  '700': #52B814,
  '800': #419310,
  '900': #326A10,
  '950': #081202,
);
$brand-base: #081202;
$brand-ink: #ffffff;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F6FCF3", "$type": "color" },
      "100": { "$value": "#EDF9E6", "$type": "color" },
      "200": { "$value": "#D8F5C7", "$type": "color" },
      "300": { "$value": "#BCF49A", "$type": "color" },
      "400": { "$value": "#9AEE68", "$type": "color" },
      "500": { "$value": "#78E935", "$type": "color" },
      "600": { "$value": "#62DC18", "$type": "color" },
      "700": { "$value": "#52B814", "$type": "color" },
      "800": { "$value": "#419310", "$type": "color" },
      "900": { "$value": "#326A10", "$type": "color" },
      "950": { "$value": "#081202", "$type": "color" }
    },
    "brandInk": { "$value": "#ffffff", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #081202 · 19.13:1
Use #ffffffAAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 19.13:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.10:1
AA fail · AA large fail · AAA fail
Reading the other direction: #081202 as text scores 19.13:1 on white and 1.10:1 on black.
Best tinted ink on it, if plain black or white feels flat: #F0FCE8 at 18.03:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#081202 · 19.13:1
AA on whitealready passes
#081202
The quick fox
#081202 · 19.13:1
AAA on whitealready passes
#081202
The quick fox
#3B850F · 4.55:1
AA on black+25% L
#3B850F
The quick fox
#4DAE13 · 7.38:1
AAA on black+34% L
#4DAE13

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #081202 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#081202 on white: 19.13:1
AA ✓ pass · AA-large · AAA
Aa
#081202 on black: 1.10:1
AA ✗ fail · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #081202 as text on that neutral, and that neutral as text on #081202.

NeutralRatioBoth directions
White19.13:1AaAa
Slate 5018.28:1AaAa
Slate 10017.46:1AaAa
Slate 20015.52:1AaAa
Slate 30012.89:1AaAa
Slate 4007.46:1AaAa
Slate 5004.02:1AaAa
Slate 6002.52:1AaAa
Slate 7001.85:1AaAa
Slate 8001.31:1AaAa
Slate 9001.07:1AaAa
Black1.10:1AaAa
Colour vision deficiency
true color
protanopia · #131001
deuteranopia · #120F03
tritanopia · #08110E

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #081202 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6FCF3
#EDF9E6
#D8F5C7
#BCF49A
#9AEE68
#78E935
#62DC18
#52B814
#419310
#326A10
#081202
Base = 950Lightest = 50 · #F6FCF3Darkest = 950 · #081202Text step on white = 900
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.010 132.5);
  --brand-100: oklch(0.94 0.015 132.5);
  --brand-200: oklch(0.88 0.023 132.5);
  --brand-300: oklch(0.80 0.030 132.5);
  --brand-400: oklch(0.72 0.036 132.5);
  --brand-500: oklch(0.64 0.039 132.5);
  --brand-600: oklch(0.56 0.039 132.5);
  --brand-700: oklch(0.48 0.036 132.5);
  --brand-800: oklch(0.40 0.033 132.5);
  --brand-900: oklch(0.32 0.027 132.5);
  --brand-950: oklch(0.24 0.021 132.5);
}

Colors that work with #081202

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#699B4B
Captions on the surface
Accent#080212
Second voice, not a rival
Dark variant#33730D
Hover, pressed, headers
Light variant#F0FCE8
Selected rows, tints
Dark surface#1A2414
Dark-mode background
Hover#000000
One step down in lightness
Pressed#000000
Two steps down
Disabled#3E5134
Chroma pulled out
Focus ring#102602
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #081202

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Status meaning — pair it with an icon or label, never colour alone
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Any size
Safe as a fill behind white type
Yes
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

safegrowingnaturalpermissive

Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed.

At this chroma the association is amplified — it will dominate anything placed beside it, so give it space and use it sparingly. The low lightness adds weight and formality.

Worth knowing

Red/green pairs are the most common colour-blindness failure — never let the two carry meaning alone.

Reads as
  • FormalityHigh
  • EnergyHigh
  • Weight96/100
  • TemperatureNeutral
  • ApproachabilityBalanced

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#0C0212
Analogous left#101202
Analogous right#021204
Split-complement 1#040212
Split-complement 2#120210
Triadic 1#020812
Triadic 2#120208
Tetradic#021012
On the wheel
Base+30°−30°+120°+240°+180°98°

#081202 sits at 98°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red3.1%
Green7.1%
Blue0.8%
R · 0–255
8
0x08
G · 0–255
18
0x12
B · 0–255
2
0x02

CMYK percentages

Cyan55.6%
Magenta0.0%
Yellow88.9%
Key (black)92.9%

Total ink coverage is 237%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#081202 text on a black background

contrast 1.10:1

Card sample

#081202 text on a white background

contrast 19.13:1

Card sample

#081202 on grey

17.46:1

#081202 on its own surface

18.16:1

#081202 on its dark surface

1.19:1

CSS3 live lab

Text font color

The quick brown fox

color: #081202;
Background color
Panel with #081202 background
background-color: #081202;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #081202;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 18, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 18, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #081202;
background: linear-gradient(135deg, #081202, #021207);
Gradient text

Gradient headline

background: linear-gradient(90deg, #081202, #02120B);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #081202;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #081202;
caret-color: #081202;
Left rule
Pull quote or callout
border-left: 4px solid #081202;
Ring + tint
Selected chip
background: #F0FCE8;
box-shadow: inset 0 0 0 2px #081202;
Conic badge
68%
background: conic-gradient(#081202 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #081202 over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(8, 18, 2, 0.5)
rgb(8 18 2 / 50%)
#08120280
hsl(98 80% 4% / 50%)
color-mix(in srgb, #081202 50%, transparent)
Alpha8-digit hexFlat on white
10%#0812021a#E6E7E6
20%#08120233#CED0CC
40%#08120266#9CA09A
60%#08120299#6B7167
80%#081202cc#394135

Gradients from #081202

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #204908, #081202 45%, #33730D);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #081202, #000000);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #081202, #0C0212);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #2D650B 0%, #081202 45%, #33730D 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F7FAF4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #3D4007 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #052D0D 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #33730D 0%, transparent 65%), #081202;

Monochromatic scale

Palettes built from #081202

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#081202 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

On screens

Very dark values collapse into each other on cheap panels — leave more lightness between your darkest steps than the numbers suggest.

In dark mode

Too dim on dark surfaces at 1.10:1 — lift it to #3B850F for body text, or reserve it for fills.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#081202, answered

What color is #081202?

#081202 is a deep electric green, closest to Black (ΔE2000 8.7). It sits at 98° on the hue wheel with 80% saturation and 4% lightness, which reads as neutral.

What is the RGB value of #081202?

rgb(8, 18, 2) — 8 red, 18 green and 2 blue out of 255, or 3.1% / 7.1% / 0.8% by channel.

What is #081202 in HSL and HSV?

hsl(98, 80%, 4%) and hsv(98, 89%, 7%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #081202 a light or a dark color?

It is a dark color. Relative luminance is 0.0049 and perceived brightness is 6%, so white text on it reaches 19.13:1.

Should I use black or white text on #081202?

White. It scores 19.13:1 against #081202, versus 1.10:1 for black — AAA at any size.

Is #081202 accessible on a white background?

#081202 on white scores 19.13:1, which clears AAA at every size.

What is the complementary color of #081202?

#0C0212 sits directly opposite on the wheel. Softer options are the split-complements #040212 and #120210, which give the same contrast with far less vibration.

What colors go well with #081202?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #080212 as an accent and #33730D for hover and pressed states. For a palette, the analogous pair #101202 and #021204 stays calm, while #0C0212 is the loudest partner.

What is #081202 in CMYK for printing?

cmyk(56%, 0%, 89%, 93%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #081202 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0E1202; nudged cooler, #021202.

Which Tailwind color is closest to #081202?

The neutral family — its 500 step is #737373, ΔE2000 33.7 away. That is a visible difference, so define #081202 as a custom token rather than reaching for the built-in.

How do I use #081202 in Tailwind CSS?

Inline it as an arbitrary value with bg-[#081202] or text-[#081202], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #081202 with 50% opacity?

rgba(8, 18, 2, 0.5), or #08120280 in eight-digit hex. Over white that composites to #848981; over black, #040901.

Is #081202 a web-safe color?

No. The nearest web-safe colour is #000000, ΔE2000 8.7 away. The palette only matters for legacy displays and some email clients now.

What does the color #081202 mean?

As a green, it reads safe, growing, natural. Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #081202?

The safest is same-hue elevation: linear-gradient(135deg, #204908, #081202 45%, #33730D). For more colour, a short hue run to #000000 keeps it rich without turning muddy.

Work with #081202 in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #081202 at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.