#1E400C#1E400C

#1E400C is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.3% C 0.088 H 136.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1E400C
RGBrgb(30, 64, 12)
HSLhsl(99, 68%, 15%)
HSVhsv(99, 81%, 25%)
CMYKcmyk(53.1%, 0%, 81.2%, 74.9%)
CIE-LABlab(23.57, -23.16, 26.54)
CIE-LCHlch(23.57, 35.22, 131.11°)
OKLaboklab(33.34% -0.0642 0.06)
OKLCHoklch(33.34% 0.088 136.9)
XYZxyz(2.4351, 3.9692, 0.9856)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E400C #2E0C40
analogous
#38400C #1E400C #0C4014
triadic
#1E400C #0C1E40 #400C1E
tetradic
#1E400C #0C3840 #2E0C40 #40140C
square
#1E400C #0C3840 #2E0C40 #40140C
split-complementary
#1E400C #140C40 #400C38
monochromatic
#0C1A05 #0C1A05 #1E400C #367416 #4EA71F

Accessibility & contrast

On white

11.71
#1E400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E400C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E400C#FFFFFF#000000##FFFFFF
##1E400C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A04
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#1C3D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e400c;
/* rgb */ color: rgb(30, 64, 12);
/* oklch */ color: oklch(33.3% 0.088 136.9);
Tailwind
colors: {
  custom: {
    50: '#5e754e',
    500: '#1e400c',
    950: '#000000',
  },
}
SCSS
$custom: #1e400c;
$custom-light: #5e754e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e400c",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 99.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33338,
    "c": 0.08791,
    "h": 136.9
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#1E400C
secondary
#602C7C
accent
#3DEBAF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1E400C

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

Preview Lab → · Contrast checker → · Palette generator →

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