#1E2D04#1E2D04

#1E2D04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.066 H 127.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1E2D04
RGBrgb(30, 45, 4)
HSLhsl(82, 84%, 10%)
HSVhsv(82, 91%, 18%)
CMYKcmyk(33.3%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.31, -13.98, 21.64)
CIE-LCHlch(16.31, 25.77, 122.87°)
OKLaboklab(27.38% -0.0402 0.052)
OKLCHoklch(27.38% 0.066 127.7)
XYZxyz(1.4957, 2.1615, 0.4533)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D04 #13042D
analogous
#2D2804 #1E2D04 #0A2D04
triadic
#1E2D04 #041E2D #2D041E
tetradic
#1E2D04 #042D28 #13042D #2D040A
square
#1E2D04 #042D28 #13042D #2D040A
split-complementary
#1E2D04 #040A2D #28042D
monochromatic
#131C02 #131C02 #1E2D04 #436509 #699D0E

Accessibility & contrast

On white

14.66
#1E2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D04
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D04#FFFFFF#000000##FFFFFF
##1E2D041.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#1F2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2d04;
/* rgb */ color: rgb(30, 45, 4);
/* oklch */ color: oklch(27.4% 0.066 127.7);
Tailwind
colors: {
  custom: {
    50: '#5b6649',
    500: '#1e2d04',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d04;
$custom-light: #5b6649;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d04",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 81.951,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27384,
    "c": 0.06572,
    "h": 127.7
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#1E2D04
secondary
#3B1D70
accent
#2EFA79
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1E2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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