#1E2F0C#1E2F0C

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

Color values

HEX#1E2F0C
RGBrgb(30, 47, 12)
HSLhsl(89, 59%, 12%)
HSVhsv(89, 74%, 18%)
CMYKcmyk(36.2%, 0%, 74.5%, 81.6%)
CIE-LABlab(17.16, -14.29, 19.38)
CIE-LCHlch(17.16, 24.08, 126.41°)
OKLaboklab(28.1% -0.0401 0.0457)
OKLCHoklch(28.1% 0.061 131.2)
XYZxyz(1.6183, 2.3355, 0.7133)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F0C #1D0C2F
analogous
#2F2F0C #1E2F0C #0D2F0C
triadic
#1E2F0C #0C1E2F #2F0C1E
tetradic
#1E2F0C #0C2F2F #1D0C2F #2F0C0D
square
#1E2F0C #0C2F2F #1D0C2F #2F0C0D
split-complementary
#1E2F0C #0C0D2F #2F0C2F
monochromatic
#101806 #101806 #1E2F0C #3D6018 #5C9125

Accessibility & contrast

On white

14.31
#1E2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F0C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F0C#FFFFFF#000000##FFFFFF
##1E2F0C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#2F2A0F
Tritanopia (blue-blind)
#1F2D28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f0c;
/* rgb */ color: rgb(30, 47, 12);
/* oklch */ color: oklch(28.1% 0.061 131.2);
Tailwind
colors: {
  custom: {
    50: '#5b674d',
    500: '#1e2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f0c;
$custom-light: #5b674d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f0c",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 89.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28098,
    "c": 0.06081,
    "h": 131.2
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#1E2F0C
secondary
#4B2C6B
accent
#45E392
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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