#1E340F#1E340F

#1E340F is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.7% C 0.066 H 134.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1E340F
RGBrgb(30, 52, 15)
HSLhsl(96, 55%, 13%)
HSVhsv(96, 71%, 20%)
CMYKcmyk(42.3%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.08, -16.73, 20.19)
CIE-LCHlch(19.08, 26.23, 129.64°)
OKLaboklab(29.68% -0.0465 0.0471)
OKLCHoklch(29.68% 0.066 134.6)
XYZxyz(1.8496, 2.7664, 0.8884)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E340F #250F34
analogous
#30340F #1E340F #0F3412
triadic
#1E340F #0F1E34 #340F1E
tetradic
#1E340F #0F3034 #250F34 #34120F
square
#1E340F #0F3034 #250F34 #34120F
split-complementary
#1E340F #120F34 #340F30
monochromatic
#0E1807 #0E1807 #1E340F #39631D #55932A

Accessibility & contrast

On white

13.52
#1E340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E340F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E340F#FFFFFF#000000##FFFFFF
##1E340F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#332E12
Tritanopia (blue-blind)
#1E322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e340f;
/* rgb */ color: rgb(30, 52, 15);
/* oklch */ color: oklch(29.7% 0.066 134.6);
Tailwind
colors: {
  custom: {
    50: '#5c6b4f',
    500: '#1e340f',
    950: '#000000',
  },
}
SCSS
$custom: #1e340f;
$custom-light: #5c6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e340f",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 95.676,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29676,
    "c": 0.06621,
    "h": 134.6
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#1E340F
secondary
#55316E
accent
#49DFA2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1E340F

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

Preview Lab → · Contrast checker → · Palette generator →

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