#1E310E#1E310E

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

Color values

HEX#1E310E
RGBrgb(30, 49, 14)
HSLhsl(93, 56%, 12%)
HSVhsv(93, 71%, 19%)
CMYKcmyk(38.8%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.94, -15.19, 19.36)
CIE-LCHlch(17.94, 24.61, 128.12°)
OKLaboklab(28.74% -0.0424 0.0455)
OKLCHoklch(28.74% 0.062 133)
XYZxyz(1.7130, 2.5043, 0.8085)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E310E #210E31
analogous
#30310E #1E310E #0E310F
triadic
#1E310E #0E1E31 #310E1E
tetradic
#1E310E #0E3031 #210E31 #310F0E
square
#1E310E #0E3031 #210E31 #310F0E
split-complementary
#1E310E #0F0E31 #310E30
monochromatic
#0F1807 #0F1807 #1E310E #3B611C #589029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E310E#FFFFFF#000000##FFFFFF
##1E310E1.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)
#332D0A
Deuteranopia (green-blind)
#312B11
Tritanopia (blue-blind)
#1E2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e310e;
/* rgb */ color: rgb(30, 49, 14);
/* oklch */ color: oklch(28.7% 0.062 133.0);
Tailwind
colors: {
  custom: {
    50: '#5b694e',
    500: '#1e310e',
    950: '#000000',
  },
}
SCSS
$custom: #1e310e;
$custom-light: #5b694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e310e",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 92.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2874,
    "c": 0.06214,
    "h": 133
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#1E310E
secondary
#502F6C
accent
#49DF9A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E310E

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

Preview Lab → · Contrast checker → · Palette generator →

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