#1E2E12#1E2E12

#1E2E12 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.052 H 133.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1E2E12
RGBrgb(30, 46, 18)
HSLhsl(94, 44%, 13%)
HSVhsv(94, 61%, 18%)
CMYKcmyk(34.8%, 0%, 60.9%, 82%)
CIE-LABlab(16.86, -12.93, 15.83)
CIE-LCHlch(16.86, 20.44, 129.24°)
OKLaboklab(27.89% -0.0357 0.038)
OKLCHoklch(27.89% 0.052 133.3)
XYZxyz(1.6216, 2.2736, 0.9256)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E12 #22122E
analogous
#2C2E12 #1E2E12 #122E14
triadic
#1E2E12 #121E2E #2E121E
tetradic
#1E2E12 #122C2E #22122E #2E1412
square
#1E2E12 #122C2E #22122E #2E1412
split-complementary
#1E2E12 #14122E #2E122C
monochromatic
#0E1609 #0E1609 #1E2E12 #3B5A23 #578634

Accessibility & contrast

On white

14.43
#1E2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E12
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E12#FFFFFF#000000##FFFFFF
##1E2E121.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2E2914
Tritanopia (blue-blind)
#1E2C28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2e12;
/* rgb */ color: rgb(30, 46, 18);
/* oklch */ color: oklch(27.9% 0.052 133.3);
Tailwind
colors: {
  custom: {
    50: '#5b6650',
    500: '#1e2e12',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e12;
$custom-light: #5b6650;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e12",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27885,
    "c": 0.05214,
    "h": 133.3
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#1E2E12
secondary
#513666
accent
#54D39D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1E2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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