#1E2A12#1E2A12

#1E2A12 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.045 H 130.7°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1E2A12
RGBrgb(30, 42, 18)
HSLhsl(90, 40%, 12%)
HSVhsv(90, 57%, 16%)
CMYKcmyk(28.6%, 0%, 57.1%, 83.5%)
CIE-LABlab(15.36, -10.52, 13.95)
CIE-LCHlch(15.36, 17.47, 127.02°)
OKLaboklab(26.67% -0.0291 0.0338)
OKLCHoklch(26.67% 0.045 130.7)
XYZxyz(1.4725, 1.9756, 0.8759)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A12 #1E122A
analogous
#2A2A12 #1E2A12 #122A12
triadic
#1E2A12 #121E2A #2A121E
tetradic
#1E2A12 #122A2A #1E122A #2A1212
square
#1E2A12 #122A2A #1E122A #2A1212
split-complementary
#1E2A12 #12122A #2A122A
monochromatic
#0F1509 #0F1509 #1E2A12 #3D5524 #5B8037

Accessibility & contrast

On white

15.05
#1E2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A12
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A12#FFFFFF#000000##FFFFFF
##1E2A121.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#2A2613
Tritanopia (blue-blind)
#1F2824
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e2a12;
/* rgb */ color: rgb(30, 42, 18);
/* oklch */ color: oklch(26.7% 0.045 130.7);
Tailwind
colors: {
  custom: {
    50: '#5a6350',
    500: '#1e2a12',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a12;
$custom-light: #5a6350;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a12",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26669,
    "c": 0.04461,
    "h": 130.7
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#1E2A12
secondary
#4C3761
accent
#58D094
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040502
muted
#797978

Preview Lab

Preview with #1E2A12

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

Preview Lab → · Contrast checker → · Palette generator →

#1E2A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva