#1E2F06#1E2F06

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

Color values

HEX#1E2F06
RGBrgb(30, 47, 6)
HSLhsl(85, 77%, 10%)
HSVhsv(85, 87%, 18%)
CMYKcmyk(36.2%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.09, -14.91, 21.79)
CIE-LCHlch(17.09, 26.41, 124.38°)
OKLaboklab(28.03% -0.0425 0.0515)
OKLCHoklch(28.03% 0.067 129.5)
XYZxyz(1.5848, 2.3222, 0.5370)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F06 #17062F
analogous
#2F2B06 #1E2F06 #092F06
triadic
#1E2F06 #061E2F #2F061E
tetradic
#1E2F06 #062F2B #17062F #2F0609
square
#1E2F06 #062F2B #17062F #2F0609
split-complementary
#1E2F06 #06092F #2B062F
monochromatic
#111B03 #111B03 #1E2F06 #41650D #639C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2F06#FFFFFF#000000##FFFFFF
##1E2F061.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)
#322B02
Deuteranopia (green-blind)
#2F2A09
Tritanopia (blue-blind)
#1F2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f06;
/* rgb */ color: rgb(30, 47, 6);
/* oklch */ color: oklch(28.0% 0.067 129.5);
Tailwind
colors: {
  custom: {
    50: '#5b674a',
    500: '#1e2f06',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f06;
$custom-light: #5b674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f06",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 84.878,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28026,
    "c": 0.06673,
    "h": 129.5
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#1E2F06
secondary
#422170
accent
#34F484
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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