#184002#184002

#184002 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.0% C 0.098 H 137.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#184002
RGBrgb(24, 64, 2)
HSLhsl(99, 94%, 13%)
HSVhsv(99, 97%, 25%)
CMYKcmyk(62.5%, 0%, 96.9%, 74.9%)
CIE-LABlab(23.22, -26.11, 30.22)
CIE-LCHlch(23.22, 39.93, 130.83°)
OKLaboklab(32.95% -0.0725 0.0666)
OKLCHoklch(32.95% 0.098 137.5)
XYZxyz(2.2210, 3.8652, 0.6864)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184002 #2A0240
analogous
#374002 #184002 #02400B
triadic
#184002 #021840 #400218
tetradic
#184002 #023740 #2A0240 #400B02
square
#184002 #023740 #2A0240 #400B02
split-complementary
#184002 #0B0240 #400237
monochromatic
#0B1E01 #0B1E01 #184002 #2E7B04 #45B706

Accessibility & contrast

On white

11.84
#184002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#184002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184002
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184002#FFFFFF#000000##FFFFFF
##1840021.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D3609
Tritanopia (blue-blind)
#153D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #184002;
/* rgb */ color: rgb(24, 64, 2);
/* oklch */ color: oklch(33.0% 0.098 137.5);
Tailwind
colors: {
  custom: {
    50: '#5b7549',
    500: '#184002',
    950: '#000000',
  },
}
SCSS
$custom: #184002;
$custom-light: #5b7549;
$custom-dark: #000000;
JSON
{
  "hex": "#184002",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 2
  },
  "hsl": {
    "h": 98.71,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32951,
    "c": 0.09845,
    "h": 137.5
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#184002
secondary
#5E1B83
accent
#29FFB3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #184002

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

Preview Lab → · Contrast checker → · Palette generator →

#184002 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva