#182A05#182A05

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

Color values

HEX#182A05
RGBrgb(24, 42, 5)
HSLhsl(89, 79%, 9%)
HSVhsv(89, 88%, 16%)
CMYKcmyk(42.9%, 0%, 88.1%, 83.5%)
CIE-LABlab(14.74, -15.05, 19.15)
CIE-LCHlch(14.74, 24.36, 128.16°)
OKLaboklab(25.99% -0.0425 0.0475)
OKLCHoklch(25.99% 0.064 131.8)
XYZxyz(1.2320, 1.8610, 0.4379)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A05 #17052A
analogous
#2A2A05 #182A05 #062A05
triadic
#182A05 #05182A #2A0518
tetradic
#182A05 #052A2A #17052A #2A0506
square
#182A05 #052A2A #17052A #2A0506
split-complementary
#182A05 #05062A #2A052A
monochromatic
#101B03 #101B03 #182A05 #37610C #579712

Accessibility & contrast

On white

15.30
#182A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A05
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A05#FFFFFF#000000##FFFFFF
##182A051.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#182823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #182a05;
/* rgb */ color: rgb(24, 42, 5);
/* oklch */ color: oklch(26.0% 0.064 131.8);
Tailwind
colors: {
  custom: {
    50: '#566349',
    500: '#182a05',
    950: '#000000',
  },
}
SCSS
$custom: #182a05;
$custom-light: #566349;
$custom-dark: #000000;
JSON
{
  "hex": "#182a05",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 89.189,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25994,
    "c": 0.06376,
    "h": 131.8
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#182A05
secondary
#441F6C
accent
#33F591
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030501
muted
#787977

Preview Lab

Preview with #182A05

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

Preview Lab → · Contrast checker → · Palette generator →

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