#1E2F0A#1E2F0A

#1E2F0A is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.063 H 130.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1E2F0A
RGBrgb(30, 47, 10)
HSLhsl(88, 65%, 11%)
HSVhsv(88, 79%, 18%)
CMYKcmyk(36.2%, 0%, 78.7%, 81.6%)
CIE-LABlab(17.14, -14.51, 20.21)
CIE-LCHlch(17.14, 24.88, 125.66°)
OKLaboklab(28.07% -0.0409 0.0477)
OKLCHoklch(28.07% 0.063 130.6)
XYZxyz(1.6067, 2.3309, 0.6524)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F0A #1B0A2F
analogous
#2F2D0A #1E2F0A #0B2F0A
triadic
#1E2F0A #0A1E2F #2F0A1E
tetradic
#1E2F0A #0A2F2D #1B0A2F #2F0A0B
square
#1E2F0A #0A2F2D #1B0A2F #2F0A0B
split-complementary
#1E2F0A #0A0B2F #2D0A2F
monochromatic
#101905 #101905 #1E2F0A #3E6115 #5E941F

Accessibility & contrast

On white

14.32
#1E2F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E2F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F0A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F0A#FFFFFF#000000##FFFFFF
##1E2F0A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B06
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#1F2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f0a;
/* rgb */ color: rgb(30, 47, 10);
/* oklch */ color: oklch(28.1% 0.063 130.6);
Tailwind
colors: {
  custom: {
    50: '#5b674c',
    500: '#1e2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f0a;
$custom-light: #5b674c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f0a",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 87.568,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28073,
    "c": 0.06279,
    "h": 130.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#1E2F0A
secondary
#48296C
accent
#40E88D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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