#1E2B04#1E2B04

#1E2B04 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.063 H 126.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#1E2B04
RGBrgb(30, 43, 4)
HSLhsl(80, 83%, 9%)
HSVhsv(80, 91%, 17%)
CMYKcmyk(30.2%, 0%, 90.7%, 83.1%)
CIE-LABlab(15.55, -12.82, 20.69)
CIE-LCHlch(15.55, 24.34, 121.79°)
OKLaboklab(26.77% -0.0371 0.0505)
OKLCHoklch(26.77% 0.063 126.3)
XYZxyz(1.4212, 2.0125, 0.4284)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B04 #11042B
analogous
#2B2504 #1E2B04 #0B2B04
triadic
#1E2B04 #041E2B #2B041E
tetradic
#1E2B04 #042B25 #11042B #2B040B
square
#1E2B04 #042B25 #11042B #2B040B
split-complementary
#1E2B04 #040B2B #25042B
monochromatic
#141C03 #141C03 #1E2B04 #456309 #6C9B0E

Accessibility & contrast

On white

14.97
#1E2B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2B04
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B04#FFFFFF#000000##FFFFFF
##1E2B041.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2C2707
Tritanopia (blue-blind)
#202823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e2b04;
/* rgb */ color: rgb(30, 43, 4);
/* oklch */ color: oklch(26.8% 0.063 126.3);
Tailwind
colors: {
  custom: {
    50: '#5b6448',
    500: '#1e2b04',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b04;
$custom-light: #5b6448;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b04",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 80,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26766,
    "c": 0.06262,
    "h": 126.3
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#1E2B04
secondary
#381D6E
accent
#2EF972
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1E2B04

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

Preview Lab → · Contrast checker → · Palette generator →

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