#1D4E03#1D4E03

#1D4E03 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.5% C 0.113 H 138.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#1D4E03
RGBrgb(29, 78, 3)
HSLhsl(99, 93%, 16%)
HSVhsv(99, 96%, 31%)
CMYKcmyk(62.8%, 0%, 96.2%, 69.4%)
CIE-LABlab(28.69, -30.36, 34.90)
CIE-LCHlch(28.69, 46.26, 131.02°)
OKLaboklab(37.52% -0.0842 0.0758)
OKLCHoklch(37.52% 0.113 138)
XYZxyz(3.2474, 5.7163, 1.0184)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E03 #34034E
analogous
#424E03 #1D4E03 #034E0E
triadic
#1D4E03 #031D4E #4E031D
tetradic
#1D4E03 #03424E #34034E #4E0E03
square
#1D4E03 #03424E #34034E #4E0E03
split-complementary
#1D4E03 #0E034E #4E0342
monochromatic
#0B1D01 #0B1D01 #1D4E03 #338905 #49C408

Accessibility & contrast

On white

9.80
#1D4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E03
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E03#FFFFFF#000000##FFFFFF
##1D4E031.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4B420D
Tritanopia (blue-blind)
#184B41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4e03;
/* rgb */ color: rgb(29, 78, 3);
/* oklch */ color: oklch(37.5% 0.113 138.0);
Tailwind
colors: {
  custom: {
    50: '#61804c',
    500: '#1d4e03',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e03;
$custom-light: #61804c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e03",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 99.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.11326,
    "h": 138
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#1D4E03
secondary
#681E8E
accent
#29FFB5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A01
muted
#7A7C77

Preview Lab

Preview with #1D4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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