#183C04#183C04

#183C04 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.092 H 137.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#183C04
RGBrgb(24, 60, 4)
HSLhsl(99, 88%, 13%)
HSVhsv(99, 93%, 24%)
CMYKcmyk(60%, 0%, 93.3%, 76.5%)
CIE-LABlab(21.71, -24.16, 27.82)
CIE-LCHlch(21.71, 36.84, 130.97°)
OKLaboklab(31.71% -0.0671 0.0622)
OKLCHoklch(31.71% 0.092 137.2)
XYZxyz(2.0144, 3.4345, 0.6716)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C04 #28043C
analogous
#343C04 #183C04 #043C0C
triadic
#183C04 #04183C #3C0418
tetradic
#183C04 #04343C #28043C #3C0C04
square
#183C04 #04343C #28043C #3C0C04
split-complementary
#183C04 #0C043C #3C0434
monochromatic
#0B1D02 #0B1D02 #183C04 #2F7508 #46AF0C

Accessibility & contrast

On white

12.45
#183C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#183C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C04
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C04#FFFFFF#000000##FFFFFF
##183C041.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#163932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183c04;
/* rgb */ color: rgb(24, 60, 4);
/* oklch */ color: oklch(31.7% 0.092 137.2);
Tailwind
colors: {
  custom: {
    50: '#5a724a',
    500: '#183c04',
    950: '#000000',
  },
}
SCSS
$custom: #183c04;
$custom-light: #5a724a;
$custom-dark: #000000;
JSON
{
  "hex": "#183c04",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 98.571,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31707,
    "c": 0.09153,
    "h": 137.2
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#183C04
secondary
#5C1E7E
accent
#2AFEB2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #183C04

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

Preview Lab → · Contrast checker → · Palette generator →

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