#182A04#182A04

#182A04 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.065 H 131.4°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#182A04
RGBrgb(24, 42, 4)
HSLhsl(88, 83%, 9%)
HSVhsv(88, 90%, 16%)
CMYKcmyk(42.9%, 0%, 90.5%, 83.5%)
CIE-LABlab(14.73, -15.17, 19.54)
CIE-LCHlch(14.73, 24.74, 127.82°)
OKLaboklab(25.98% -0.043 0.0487)
OKLCHoklch(25.98% 0.065 131.4)
XYZxyz(1.2266, 1.8588, 0.4090)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A04 #16042A
analogous
#2A2904 #182A04 #052A04
triadic
#182A04 #04182A #2A0418
tetradic
#182A04 #042A29 #16042A #2A0405
square
#182A04 #042A29 #16042A #2A0405
split-complementary
#182A04 #04052A #29042A
monochromatic
#101C03 #101C03 #182A04 #386209 #589A0F

Accessibility & contrast

On white

15.31
#182A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#182A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A04
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A04#FFFFFF#000000##FFFFFF
##182A041.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#192823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #182a04;
/* rgb */ color: rgb(24, 42, 4);
/* oklch */ color: oklch(26.0% 0.065 131.4);
Tailwind
colors: {
  custom: {
    50: '#566348',
    500: '#182a04',
    950: '#000000',
  },
}
SCSS
$custom: #182a04;
$custom-light: #566348;
$custom-dark: #000000;
JSON
{
  "hex": "#182a04",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 88.421,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2598,
    "c": 0.06495,
    "h": 131.4
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#182A04
secondary
#431D6D
accent
#2FF98F
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #182A04

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

Preview Lab → · Contrast checker → · Palette generator →

#182A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva