#121E02#121E02

#121E02 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 21.6% C 0.052 H 128.8°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#121E02
RGBrgb(18, 30, 2)
HSLhsl(86, 88%, 6%)
HSVhsv(86, 93%, 12%)
CMYKcmyk(40%, 0%, 93.3%, 88.2%)
CIE-LABlab(9.49, -11.23, 13.16)
CIE-LCHlch(9.49, 17.31, 130.48°)
OKLaboklab(21.59% -0.0329 0.0409)
OKLCHoklch(21.59% 0.052 128.8)
XYZxyz(0.7247, 1.0615, 0.2241)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E02 #0E021E
analogous
#1E1C02 #121E02 #041E02
triadic
#121E02 #02121E #1E0212
tetradic
#121E02 #021E1C #0E021E #1E0204
square
#121E02 #021E1C #0E021E #1E0204
split-complementary
#121E02 #02041E #1C021E
monochromatic
#111D02 #111D02 #121E02 #345706 #57910A

Accessibility & contrast

On white

17.32
#121E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#121E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E02
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E02#FFFFFF#000000##FFFFFF
##121E021.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B00
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#131C18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121e02;
/* rgb */ color: rgb(18, 30, 2);
/* oklch */ color: oklch(21.6% 0.052 128.8);
Tailwind
colors: {
  custom: {
    50: '#4f5947',
    500: '#121e02',
    950: '#000000',
  },
}
SCSS
$custom: #121e02;
$custom-light: #4f5947;
$custom-dark: #000000;
JSON
{
  "hex": "#121e02",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 85.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2159,
    "c": 0.05249,
    "h": 128.8
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#121E02
secondary
#381864
accent
#2AFE85
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121E02

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#121E02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva