#183B04#183B04

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

Color values

HEX#183B04
RGBrgb(24, 59, 4)
HSLhsl(98, 87%, 12%)
HSVhsv(98, 93%, 23%)
CMYKcmyk(59.3%, 0%, 93.2%, 76.9%)
CIE-LABlab(21.32, -23.70, 27.40)
CIE-LCHlch(21.32, 36.23, 130.86°)
OKLaboklab(31.39% -0.0659 0.0615)
OKLCHoklch(31.39% 0.09 137)
XYZxyz(1.9625, 3.3307, 0.6543)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B04 #27043B
analogous
#343B04 #183B04 #043B0C
triadic
#183B04 #04183B #3B0418
tetradic
#183B04 #04343B #27043B #3B0C04
square
#183B04 #04343B #27043B #3B0C04
split-complementary
#183B04 #0C043B #3B0434
monochromatic
#0C1D02 #0C1D02 #183B04 #2F7408 #47AE0C

Accessibility & contrast

On white

12.60
#183B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183B04
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B04#FFFFFF#000000##FFFFFF
##183B041.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183b04;
/* rgb */ color: rgb(24, 59, 4);
/* oklch */ color: oklch(31.4% 0.090 137.0);
Tailwind
colors: {
  custom: {
    50: '#5a714a',
    500: '#183b04',
    950: '#000000',
  },
}
SCSS
$custom: #183b04;
$custom-light: #5a714a;
$custom-dark: #000000;
JSON
{
  "hex": "#183b04",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 98.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.09015,
    "h": 137
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#183B04
secondary
#5A1E7D
accent
#2AFDB1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #183B04

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

Preview Lab → · Contrast checker → · Palette generator →

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