#120E02#120E02

#120E02 is a very dark, muted yellow. Relative luminance 0.004; OKLCH L 16.5% C 0.028 H 94.8°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#120E02
RGBrgb(18, 14, 2)
HSLhsl(45, 80%, 4%)
HSVhsv(45, 89%, 7%)
CMYKcmyk(0%, 22.2%, 88.9%, 92.9%)
CIE-LABlab(4.04, -0.31, 5.22)
CIE-LCHlch(4.04, 5.23, 93.35°)
OKLaboklab(16.46% -0.0023 0.0276)
OKLCHoklch(16.46% 0.028 94.8)
XYZxyz(0.4175, 0.4471, 0.1217)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E02 #020612
analogous
#120602 #120E02 #0E1202
triadic
#120E02 #02120E #0E0212
tetradic
#120E02 #021206 #020612 #12020E
square
#120E02 #021206 #020612 #12020E
split-complementary
#120E02 #020E12 #060212
monochromatic
#1C1503 #1C1503 #1C1503 #493908 #80640E

Accessibility & contrast

On white

19.28
#120E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#120E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E02
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E02#FFFFFF#000000##FFFFFF
##120E021.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110D01
Deuteranopia (green-blind)
#120F02
Tritanopia (blue-blind)
#140C0B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #120e02;
/* rgb */ color: rgb(18, 14, 2);
/* oklch */ color: oklch(16.5% 0.028 94.8);
Tailwind
colors: {
  custom: {
    50: '#4f4d47',
    500: '#120e02',
    950: '#000000',
  },
}
SCSS
$custom: #120e02;
$custom-light: #4f4d47;
$custom-dark: #000000;
JSON
{
  "hex": "#120e02",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 2
  },
  "hsl": {
    "h": 45,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.16459,
    "c": 0.02771,
    "h": 94.8
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#120E02
secondary
#192857
accent
#63F631
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020100
muted
#787777

Preview Lab

Preview with #120E02

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

Preview Lab → · Contrast checker → · Palette generator →

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