#182A01#182A01

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

Color values

HEX#182A01
RGBrgb(24, 42, 1)
HSLhsl(86, 95%, 8%)
HSVhsv(86, 98%, 16%)
CMYKcmyk(42.9%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.69, -15.54, 20.72)
CIE-LCHlch(14.69, 25.90, 126.88°)
OKLaboklab(25.94% -0.0445 0.0522)
OKLCHoklch(25.94% 0.069 130.4)
XYZxyz(1.2101, 1.8523, 0.3225)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A01 #13012A
analogous
#2A2701 #182A01 #042A01
triadic
#182A01 #01182A #2A0118
tetradic
#182A01 #012A27 #13012A #2A0104
square
#182A01 #012A27 #13012A #2A0104
split-complementary
#182A01 #01042A #27012A
monochromatic
#111E01 #111E01 #182A01 #3A6602 #5CA204

Accessibility & contrast

On white

15.32
#182A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#182A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A01
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A01#FFFFFF#000000##FFFFFF
##182A011.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2A2504
Tritanopia (blue-blind)
#192822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #182a01;
/* rgb */ color: rgb(24, 42, 1);
/* oklch */ color: oklch(25.9% 0.069 130.4);
Tailwind
colors: {
  custom: {
    50: '#566347',
    500: '#182a01',
    950: '#000000',
  },
}
SCSS
$custom: #182a01;
$custom-light: #566347;
$custom-dark: #000000;
JSON
{
  "hex": "#182a01",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 86.341,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25939,
    "c": 0.06862,
    "h": 130.4
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#182A01
secondary
#3E1670
accent
#29FF87
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #182A01

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

Preview Lab → · Contrast checker → · Palette generator →

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