#1E3902#1E3902

#1E3902 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.085 H 133.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1E3902
RGBrgb(30, 57, 2)
HSLhsl(89, 93%, 12%)
HSVhsv(89, 96%, 22%)
CMYKcmyk(47.4%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.85, -20.59, 27.79)
CIE-LCHlch(20.85, 34.59, 126.54°)
OKLaboklab(31.08% -0.0583 0.0624)
OKLCHoklch(31.08% 0.085 133)
XYZxyz(2.0095, 3.2066, 0.5705)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3902 #1D0239
analogous
#393902 #1E3902 #023902
triadic
#1E3902 #021E39 #39021E
tetradic
#1E3902 #023939 #1D0239 #390202
square
#1E3902 #023939 #1D0239 #390202
split-complementary
#1E3902 #020239 #390239
monochromatic
#101E01 #101E01 #1E3902 #3D7404 #5CAF06

Accessibility & contrast

On white

12.79
#1E3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3902
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3902#FFFFFF#000000##FFFFFF
##1E39021.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#1E362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e3902;
/* rgb */ color: rgb(30, 57, 2);
/* oklch */ color: oklch(31.1% 0.085 133.0);
Tailwind
colors: {
  custom: {
    50: '#5d6f49',
    500: '#1e3902',
    950: '#000000',
  },
}
SCSS
$custom: #1e3902;
$custom-light: #5d6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3902",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 89.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31084,
    "c": 0.08539,
    "h": 133
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#1E3902
secondary
#4B1A7D
accent
#29FF92
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1E3902

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

Preview Lab → · Contrast checker → · Palette generator →

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