#182B02#182B02

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

Color values

HEX#182B02
RGBrgb(24, 43, 2)
HSLhsl(88, 91%, 9%)
HSVhsv(88, 95%, 17%)
CMYKcmyk(44.2%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.10, -15.96, 20.83)
CIE-LCHlch(15.10, 26.24, 127.47°)
OKLaboklab(26.27% -0.0454 0.0518)
OKLCHoklch(26.27% 0.069 131.3)
XYZxyz(1.2515, 1.9263, 0.3633)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B02 #15022B
analogous
#2B2A02 #182B02 #042B02
triadic
#182B02 #02182B #2B0218
tetradic
#182B02 #022B2A #15022B #2B0204
square
#182B02 #022B2A #15022B #2B0204
split-complementary
#182B02 #02042B #2A022B
monochromatic
#101D01 #101D01 #182B02 #396505 #59A007

Accessibility & contrast

On white

15.16
#182B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B02
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B02#FFFFFF#000000##FFFFFF
##182B021.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b02;
/* rgb */ color: rgb(24, 43, 2);
/* oklch */ color: oklch(26.3% 0.069 131.3);
Tailwind
colors: {
  custom: {
    50: '#566447',
    500: '#182b02',
    950: '#000000',
  },
}
SCSS
$custom: #182b02;
$custom-light: #566447;
$custom-dark: #000000;
JSON
{
  "hex": "#182b02",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 87.805,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26272,
    "c": 0.06887,
    "h": 131.3
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#182B02
secondary
#411970
accent
#29FF8C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #182B02

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

Preview Lab → · Contrast checker → · Palette generator →

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