#121F03#121F03

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

Color values

HEX#121F03
RGBrgb(18, 31, 3)
HSLhsl(88, 82%, 7%)
HSVhsv(88, 90%, 12%)
CMYKcmyk(41.9%, 0%, 90.3%, 87.8%)
CIE-LABlab(9.92, -11.78, 13.36)
CIE-LCHlch(9.92, 17.81, 131.40°)
OKLaboklab(21.94% -0.0338 0.0401)
OKLCHoklch(21.94% 0.052 130.1)
XYZxyz(0.7559, 1.1151, 0.2615)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F03 #10031F
analogous
#1F1E03 #121F03 #041F03
triadic
#121F03 #03121F #1F0312
tetradic
#121F03 #031F1E #10031F #1F0304
square
#121F03 #031F1E #10031F #1F0304
split-complementary
#121F03 #03041F #1E031F
monochromatic
#101C03 #101C03 #121F03 #325708 #538F0E

Accessibility & contrast

On white

17.17
#121F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F03
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F03#FFFFFF#000000##FFFFFF
##121F031.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C01
Deuteranopia (green-blind)
#1F1B05
Tritanopia (blue-blind)
#131D19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121f03;
/* rgb */ color: rgb(18, 31, 3);
/* oklch */ color: oklch(21.9% 0.052 130.1);
Tailwind
colors: {
  custom: {
    50: '#4f5a48',
    500: '#121f03',
    950: '#000000',
  },
}
SCSS
$custom: #121f03;
$custom-light: #4f5a48;
$custom-dark: #000000;
JSON
{
  "hex": "#121f03",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 87.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21939,
    "c": 0.05246,
    "h": 130.1
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#121F03
secondary
#3C1B63
accent
#2FF98D
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #121F03

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

Preview Lab → · Contrast checker → · Palette generator →

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