#121D02#121D02

#121D02 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.3% C 0.051 H 127.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#121D02
RGBrgb(18, 29, 2)
HSLhsl(84, 87%, 6%)
HSVhsv(84, 93%, 11%)
CMYKcmyk(37.9%, 0%, 93.1%, 88.6%)
CIE-LABlab(9.09, -10.51, 12.58)
CIE-LCHlch(9.09, 16.39, 129.86°)
OKLaboklab(21.26% -0.0312 0.0401)
OKLCHoklch(21.26% 0.051 127.9)
XYZxyz(0.6998, 1.0117, 0.2158)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D02 #0D021D
analogous
#1D1A02 #121D02 #041D02
triadic
#121D02 #02121D #1D0212
tetradic
#121D02 #021D1A #0D021D #1D0204
square
#121D02 #021D1A #0D021D #1D0204
split-complementary
#121D02 #02041D #1A021D
monochromatic
#121D02 #121D02 #121D02 #365606 #59900A

Accessibility & contrast

On white

17.47
#121D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D02
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D02#FFFFFF#000000##FFFFFF
##121D021.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1E1903
Tritanopia (blue-blind)
#131B17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121d02;
/* rgb */ color: rgb(18, 29, 2);
/* oklch */ color: oklch(21.3% 0.051 127.9);
Tailwind
colors: {
  custom: {
    50: '#4f5947',
    500: '#121d02',
    950: '#000000',
  },
}
SCSS
$custom: #121d02;
$custom-light: #4f5947;
$custom-dark: #000000;
JSON
{
  "hex": "#121d02",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 2
  },
  "hsl": {
    "h": 84.444,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.21261,
    "c": 0.05085,
    "h": 127.9
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#121D02
secondary
#361863
accent
#2BFD80
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121D02

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

Preview Lab → · Contrast checker → · Palette generator →

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