#182C02#182C02

#182C02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.070 H 131.8°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#182C02
RGBrgb(24, 44, 2)
HSLhsl(89, 91%, 9%)
HSVhsv(89, 95%, 17%)
CMYKcmyk(45.5%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.49, -16.50, 21.33)
CIE-LCHlch(15.49, 26.97, 127.73°)
OKLaboklab(26.59% -0.0469 0.0525)
OKLCHoklch(26.59% 0.07 131.8)
XYZxyz(1.2883, 1.9999, 0.3756)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C02 #16022C
analogous
#2C2B02 #182C02 #032C02
triadic
#182C02 #02182C #2C0218
tetradic
#182C02 #022C2B #16022C #2C0203
square
#182C02 #022C2B #16022C #2C0203
split-complementary
#182C02 #02032C #2B022C
monochromatic
#101D01 #101D01 #182C02 #386705 #58A107

Accessibility & contrast

On white

15.00
#182C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#182C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C02
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C02#FFFFFF#000000##FFFFFF
##182C021.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2C2605
Tritanopia (blue-blind)
#192A24
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #182c02;
/* rgb */ color: rgb(24, 44, 2);
/* oklch */ color: oklch(26.6% 0.070 131.8);
Tailwind
colors: {
  custom: {
    50: '#566547',
    500: '#182c02',
    950: '#000000',
  },
}
SCSS
$custom: #182c02;
$custom-light: #566547;
$custom-dark: #000000;
JSON
{
  "hex": "#182c02",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 88.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26592,
    "c": 0.07038,
    "h": 131.8
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#182C02
secondary
#431971
accent
#29FF8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #182C02

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

Preview Lab → · Contrast checker → · Palette generator →

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