#1E2808#1E2808

#1E2808 is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.9% C 0.053 H 124.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#1E2808
RGBrgb(30, 40, 8)
HSLhsl(79, 67%, 9%)
HSVhsv(79, 80%, 16%)
CMYKcmyk(25%, 0%, 80%, 84.3%)
CIE-LABlab(14.46, -10.58, 17.66)
CIE-LCHlch(14.46, 20.58, 120.92°)
OKLaboklab(25.9% -0.0303 0.0437)
OKLCHoklch(25.9% 0.053 124.8)
XYZxyz(1.3380, 1.8111, 0.5088)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2808 #120828
analogous
#282208 #1E2808 #0E2808
triadic
#1E2808 #081E28 #28081E
tetradic
#1E2808 #082822 #120828 #28080E
square
#1E2808 #082822 #120828 #28080E
split-complementary
#1E2808 #080E28 #220828
monochromatic
#131A05 #131A05 #1E2808 #445B12 #6B8E1C

Accessibility & contrast

On white

15.42
#1E2808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E2808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2808
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2808#FFFFFF#000000##FFFFFF
##1E28081.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#202621
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e2808;
/* rgb */ color: rgb(30, 40, 8);
/* oklch */ color: oklch(25.9% 0.053 124.8);
Tailwind
colors: {
  custom: {
    50: '#5a614a',
    500: '#1e2808',
    950: '#000000',
  },
}
SCSS
$custom: #1e2808;
$custom-light: #5a614a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2808",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 78.75,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25899,
    "c": 0.05316,
    "h": 124.8
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#1E2808
secondary
#3A2567
accent
#3EEA74
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1E2808

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

Preview Lab → · Contrast checker → · Palette generator →

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