#1E2F05#1E2F05

#1E2F05 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.068 H 129.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#1E2F05
RGBrgb(30, 47, 5)
HSLhsl(84, 81%, 10%)
HSVhsv(84, 89%, 18%)
CMYKcmyk(36.2%, 0%, 89.4%, 81.6%)
CIE-LABlab(17.08, -15.02, 22.19)
CIE-LCHlch(17.08, 26.79, 124.09°)
OKLaboklab(28.01% -0.0429 0.0525)
OKLCHoklch(28.01% 0.068 129.3)
XYZxyz(1.5793, 2.3200, 0.5081)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F05 #16052F
analogous
#2F2B05 #1E2F05 #092F05
triadic
#1E2F05 #051E2F #2F051E
tetradic
#1E2F05 #052F2B #16052F #2F0509
square
#1E2F05 #052F2B #16052F #2F0509
split-complementary
#1E2F05 #05092F #2B052F
monochromatic
#121C03 #121C03 #1E2F05 #41660B #659E11

Accessibility & contrast

On white

14.34
#1E2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E2F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F05
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F05#FFFFFF#000000##FFFFFF
##1E2F051.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B01
Deuteranopia (green-blind)
#2F2A08
Tritanopia (blue-blind)
#1F2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f05;
/* rgb */ color: rgb(30, 47, 5);
/* oklch */ color: oklch(28.0% 0.068 129.3);
Tailwind
colors: {
  custom: {
    50: '#5b6749',
    500: '#1e2f05',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f05;
$custom-light: #5b6749;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f05",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 84.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28014,
    "c": 0.06775,
    "h": 129.3
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#1E2F05
secondary
#401F71
accent
#31F781
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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