#183B02#183B02

#183B02 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.092 H 136.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#183B02
RGBrgb(24, 59, 2)
HSLhsl(97, 93%, 12%)
HSVhsv(97, 97%, 23%)
CMYKcmyk(59.3%, 0%, 96.6%, 76.9%)
CIE-LABlab(21.31, -23.89, 28.20)
CIE-LCHlch(21.31, 36.96, 130.27°)
OKLaboklab(31.37% -0.0666 0.0631)
OKLCHoklch(31.37% 0.092 136.5)
XYZxyz(1.9516, 3.3264, 0.5966)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B02 #25023B
analogous
#353B02 #183B02 #023B08
triadic
#183B02 #02183B #3B0218
tetradic
#183B02 #02353B #25023B #3B0802
square
#183B02 #02353B #25023B #3B0802
split-complementary
#183B02 #08023B #3B0235
monochromatic
#0C1E01 #0C1E01 #183B02 #307604 #48B106

Accessibility & contrast

On white

12.61
#183B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#183B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B02
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B02#FFFFFF#000000##FFFFFF
##183B021.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#163831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183b02;
/* rgb */ color: rgb(24, 59, 2);
/* oklch */ color: oklch(31.4% 0.092 136.5);
Tailwind
colors: {
  custom: {
    50: '#5a7149',
    500: '#183b02',
    950: '#000000',
  },
}
SCSS
$custom: #183b02;
$custom-light: #5a7149;
$custom-dark: #000000;
JSON
{
  "hex": "#183b02",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 96.842,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31372,
    "c": 0.09177,
    "h": 136.5
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#183B02
secondary
#581A7E
accent
#29FFAC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #183B02

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

Preview Lab → · Contrast checker → · Palette generator →

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