#1E2F0B#1E2F0B

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

Color values

HEX#1E2F0B
RGBrgb(30, 47, 11)
HSLhsl(88, 62%, 11%)
HSVhsv(88, 77%, 18%)
CMYKcmyk(36.2%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.15, -14.40, 19.81)
CIE-LCHlch(17.15, 24.49, 126.02°)
OKLaboklab(28.08% -0.0405 0.0467)
OKLCHoklch(28.08% 0.062 130.9)
XYZxyz(1.6123, 2.3332, 0.6819)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F0B #1C0B2F
analogous
#2F2E0B #1E2F0B #0C2F0B
triadic
#1E2F0B #0B1E2F #2F0B1E
tetradic
#1E2F0B #0B2F2E #1C0B2F #2F0B0C
square
#1E2F0B #0B2F2E #1C0B2F #2F0B0C
split-complementary
#1E2F0B #0B0C2F #2E0B2F
monochromatic
#101906 #101906 #1E2F0B #3E6117 #5D9222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E2F0B#FFFFFF#000000##FFFFFF
##1E2F0B1.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)
#312B07
Deuteranopia (green-blind)
#2F2A0E
Tritanopia (blue-blind)
#1F2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f0b;
/* rgb */ color: rgb(30, 47, 11);
/* oklch */ color: oklch(28.1% 0.062 130.9);
Tailwind
colors: {
  custom: {
    50: '#5b674c',
    500: '#1e2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f0b;
$custom-light: #5b674c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f0b",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 88.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28085,
    "c": 0.06182,
    "h": 130.9
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#1E2F0B
secondary
#492A6B
accent
#43E58F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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