#182D04#182D04

#182D04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.9% C 0.070 H 132.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#182D04
RGBrgb(24, 45, 4)
HSLhsl(91, 84%, 10%)
HSVhsv(91, 91%, 18%)
CMYKcmyk(46.7%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.90, -16.80, 21.04)
CIE-LCHlch(15.90, 26.92, 128.61°)
OKLaboklab(26.94% -0.0474 0.051)
OKLCHoklch(26.94% 0.07 132.9)
XYZxyz(1.3370, 2.0797, 0.4458)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D04 #19042D
analogous
#2D2D04 #182D04 #042D05
triadic
#182D04 #04182D #2D0418
tetradic
#182D04 #042D2D #19042D #2D0504
square
#182D04 #042D2D #19042D #2D0504
split-complementary
#182D04 #05042D #2D042D
monochromatic
#0F1C02 #0F1C02 #182D04 #366509 #549D0E

Accessibility & contrast

On white

14.83
#182D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#182D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D04
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D04#FFFFFF#000000##FFFFFF
##182D041.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2C2707
Tritanopia (blue-blind)
#182B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182d04;
/* rgb */ color: rgb(24, 45, 4);
/* oklch */ color: oklch(26.9% 0.070 132.9);
Tailwind
colors: {
  custom: {
    50: '#566648',
    500: '#182d04',
    950: '#000000',
  },
}
SCSS
$custom: #182d04;
$custom-light: #566648;
$custom-dark: #000000;
JSON
{
  "hex": "#182d04",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 90.732,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26937,
    "c": 0.06963,
    "h": 132.9
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#182D04
secondary
#471D70
accent
#2EFA96
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #182D04

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

Preview Lab → · Contrast checker → · Palette generator →

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