#1E310C#1E310C

#1E310C is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.064 H 132.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#1E310C
RGBrgb(30, 49, 12)
HSLhsl(91, 61%, 12%)
HSVhsv(91, 76%, 19%)
CMYKcmyk(38.8%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.91, -15.42, 20.29)
CIE-LCHlch(17.91, 25.49, 127.23°)
OKLaboklab(28.71% -0.0432 0.0475)
OKLCHoklch(28.71% 0.064 132.3)
XYZxyz(1.7001, 2.4991, 0.7406)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E310C #1F0C31
analogous
#31310C #1E310C #0C310D
triadic
#1E310C #0C1E31 #310C1E
tetradic
#1E310C #0C3131 #1F0C31 #310D0C
square
#1E310C #0C3131 #1F0C31 #310D0C
split-complementary
#1E310C #0D0C31 #310C31
monochromatic
#0F1906 #0F1906 #1E310C #3C6218 #5A9324

Accessibility & contrast

On white

14.00
#1E310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E310C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E310C#FFFFFF#000000##FFFFFF
##1E310C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#312B0F
Tritanopia (blue-blind)
#1E2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e310c;
/* rgb */ color: rgb(30, 49, 12);
/* oklch */ color: oklch(28.7% 0.064 132.3);
Tailwind
colors: {
  custom: {
    50: '#5b694d',
    500: '#1e310c',
    950: '#000000',
  },
}
SCSS
$custom: #1e310c;
$custom-light: #5b694d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e310c",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 90.811,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28713,
    "c": 0.06419,
    "h": 132.3
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#1E310C
secondary
#4D2C6D
accent
#44E496
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E310C

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

Preview Lab → · Contrast checker → · Palette generator →

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