#182B04#182B04

#182B04 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.067 H 132.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#182B04
RGBrgb(24, 43, 4)
HSLhsl(89, 83%, 9%)
HSVhsv(89, 91%, 17%)
CMYKcmyk(44.2%, 0%, 90.7%, 83.1%)
CIE-LABlab(15.12, -15.72, 20.05)
CIE-LCHlch(15.12, 25.48, 128.11°)
OKLaboklab(26.3% -0.0445 0.0495)
OKLCHoklch(26.3% 0.067 132)
XYZxyz(1.2625, 1.9307, 0.4210)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B04 #17042B
analogous
#2B2B04 #182B04 #042B04
triadic
#182B04 #04182B #2B0418
tetradic
#182B04 #042B2B #17042B #2B0404
square
#182B04 #042B2B #17042B #2B0404
split-complementary
#182B04 #04042B #2B042B
monochromatic
#101C03 #101C03 #182B04 #376309 #579B0E

Accessibility & contrast

On white

15.15
#182B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#182B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B04
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B04#FFFFFF#000000##FFFFFF
##182B041.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2B2507
Tritanopia (blue-blind)
#182923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182b04;
/* rgb */ color: rgb(24, 43, 4);
/* oklch */ color: oklch(26.3% 0.067 132.0);
Tailwind
colors: {
  custom: {
    50: '#566448',
    500: '#182b04',
    950: '#000000',
  },
}
SCSS
$custom: #182b04;
$custom-light: #566448;
$custom-dark: #000000;
JSON
{
  "hex": "#182b04",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 89.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26299,
    "c": 0.06652,
    "h": 132
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#182B04
secondary
#441D6E
accent
#2EF991
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #182B04

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

Preview Lab → · Contrast checker → · Palette generator →

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