#1E2F04#1E2F04

#1E2F04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.069 H 129.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#1E2F04
RGBrgb(30, 47, 4)
HSLhsl(84, 84%, 10%)
HSVhsv(84, 91%, 18%)
CMYKcmyk(36.2%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.07, -15.12, 22.58)
CIE-LCHlch(17.07, 27.18, 123.80°)
OKLaboklab(28% -0.0433 0.0535)
OKLCHoklch(28% 0.069 129)
XYZxyz(1.5738, 2.3178, 0.4793)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F04 #15042F
analogous
#2F2B04 #1E2F04 #082F04
triadic
#1E2F04 #041E2F #2F041E
tetradic
#1E2F04 #042F2B #15042F #2F0408
square
#1E2F04 #042F2B #15042F #2F0408
split-complementary
#1E2F04 #04082F #2B042F
monochromatic
#121C02 #121C02 #1E2F04 #426709 #66A00E

Accessibility & contrast

On white

14.35
#1E2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F04
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F04#FFFFFF#000000##FFFFFF
##1E2F041.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2A07
Tritanopia (blue-blind)
#1F2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f04;
/* rgb */ color: rgb(30, 47, 4);
/* oklch */ color: oklch(28.0% 0.069 129.0);
Tailwind
colors: {
  custom: {
    50: '#5b6749',
    500: '#1e2f04',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f04;
$custom-light: #5b6749;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f04",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 83.721,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28002,
    "c": 0.06879,
    "h": 129
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#1E2F04
secondary
#3F1D72
accent
#2DFB7E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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