#183A02#183A02

#183A02 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.090 H 136.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#183A02
RGBrgb(24, 58, 2)
HSLhsl(96, 93%, 12%)
HSVhsv(96, 97%, 23%)
CMYKcmyk(58.6%, 0%, 96.6%, 77.3%)
CIE-LABlab(20.92, -23.43, 27.78)
CIE-LCHlch(20.92, 36.34, 130.15°)
OKLaboklab(31.06% -0.0654 0.0624)
OKLCHoklch(31.06% 0.09 136.3)
XYZxyz(1.9006, 3.2245, 0.5797)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A02 #24023A
analogous
#343A02 #183A02 #023A08
triadic
#183A02 #02183A #3A0218
tetradic
#183A02 #02343A #24023A #3A0802
square
#183A02 #02343A #24023A #3A0802
split-complementary
#183A02 #08023A #3A0234
monochromatic
#0C1E01 #0C1E01 #183A02 #307504 #49B006

Accessibility & contrast

On white

12.77
#183A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#183A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A02
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A02#FFFFFF#000000##FFFFFF
##183A021.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#163730
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183a02;
/* rgb */ color: rgb(24, 58, 2);
/* oklch */ color: oklch(31.1% 0.090 136.3);
Tailwind
colors: {
  custom: {
    50: '#597049',
    500: '#183a02',
    950: '#000000',
  },
}
SCSS
$custom: #183a02;
$custom-light: #597049;
$custom-dark: #000000;
JSON
{
  "hex": "#183a02",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 96.429,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31055,
    "c": 0.09041,
    "h": 136.3
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#183A02
secondary
#571A7D
accent
#29FFAB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #183A02

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

Preview Lab → · Contrast checker → · Palette generator →

#183A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva