#1E310F#1E310F

#1E310F is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.061 H 133.4°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1E310F
RGBrgb(30, 49, 15)
HSLhsl(94, 53%, 13%)
HSVhsv(94, 69%, 19%)
CMYKcmyk(38.8%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.95, -15.07, 18.86)
CIE-LCHlch(17.95, 24.14, 128.63°)
OKLaboklab(28.75% -0.0419 0.0444)
OKLCHoklch(28.75% 0.061 133.4)
XYZxyz(1.7199, 2.5071, 0.8451)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E310F #220F31
analogous
#2F310F #1E310F #0F3111
triadic
#1E310F #0F1E31 #310F1E
tetradic
#1E310F #0F2F31 #220F31 #31110F
square
#1E310F #0F2F31 #220F31 #31110F
split-complementary
#1E310F #110F31 #310F2F
monochromatic
#0E1707 #0E1707 #1E310F #3B601D #578F2C

Accessibility & contrast

On white

13.99
#1E310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E310F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E310F#FFFFFF#000000##FFFFFF
##1E310F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0B
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#1E2F2A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e310f;
/* rgb */ color: rgb(30, 49, 15);
/* oklch */ color: oklch(28.8% 0.061 133.4);
Tailwind
colors: {
  custom: {
    50: '#5b694e',
    500: '#1e310f',
    950: '#000000',
  },
}
SCSS
$custom: #1e310f;
$custom-light: #5b694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e310f",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 93.529,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28754,
    "c": 0.06105,
    "h": 133.4
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#1E310F
secondary
#51316B
accent
#4BDD9C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1E310F

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

Preview Lab → · Contrast checker → · Palette generator →

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