#1E2B02#1E2B02

#1E2B02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.065 H 125.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2B02
RGBrgb(30, 43, 2)
HSLhsl(79, 91%, 9%)
HSVhsv(79, 95%, 17%)
CMYKcmyk(30.2%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.53, -13.04, 21.47)
CIE-LCHlch(15.53, 25.12, 121.27°)
OKLaboklab(26.74% -0.038 0.0527)
OKLCHoklch(26.74% 0.065 125.8)
XYZxyz(1.4103, 2.0081, 0.3707)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B02 #0F022B
analogous
#2B2402 #1E2B02 #0A2B02
triadic
#1E2B02 #021E2B #2B021E
tetradic
#1E2B02 #022B24 #0F022B #2B020A
square
#1E2B02 #022B24 #0F022B #2B020A
split-complementary
#1E2B02 #020A2B #24022B
monochromatic
#141D01 #141D01 #1E2B02 #476505 #70A007

Accessibility & contrast

On white

14.98
#1E2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2B02
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B02#FFFFFF#000000##FFFFFF
##1E2B021.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2b02;
/* rgb */ color: rgb(30, 43, 2);
/* oklch */ color: oklch(26.7% 0.065 125.8);
Tailwind
colors: {
  custom: {
    50: '#5b6447',
    500: '#1e2b02',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b02;
$custom-light: #5b6447;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b02",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 79.024,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26741,
    "c": 0.06498,
    "h": 125.8
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#1E2B02
secondary
#341970
accent
#29FF6D
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1E2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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