#183A06#183A06

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

Color values

HEX#183A06
RGBrgb(24, 58, 6)
HSLhsl(99, 81%, 13%)
HSVhsv(99, 90%, 23%)
CMYKcmyk(58.6%, 0%, 89.7%, 77.3%)
CIE-LABlab(20.95, -23.05, 26.19)
CIE-LCHlch(20.95, 34.89, 131.36°)
OKLaboklab(31.09% -0.064 0.0591)
OKLCHoklch(31.09% 0.087 137.3)
XYZxyz(1.9226, 3.2333, 0.6950)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A06 #28063A
analogous
#323A06 #183A06 #063A0E
triadic
#183A06 #06183A #3A0618
tetradic
#183A06 #06323A #28063A #3A0E06
square
#183A06 #06323A #28063A #3A0E06
split-complementary
#183A06 #0E063A #3A0632
monochromatic
#0B1C03 #0B1C03 #183A06 #2F710C #46A911

Accessibility & contrast

On white

12.75
#183A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183A06
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A06#FFFFFF#000000##FFFFFF
##183A061.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#163830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #183a06;
/* rgb */ color: rgb(24, 58, 6);
/* oklch */ color: oklch(31.1% 0.087 137.3);
Tailwind
colors: {
  custom: {
    50: '#59704b',
    500: '#183a06',
    950: '#000000',
  },
}
SCSS
$custom: #183a06;
$custom-light: #59704b;
$custom-dark: #000000;
JSON
{
  "hex": "#183a06",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 99.231,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31093,
    "c": 0.08713,
    "h": 137.3
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#183A06
secondary
#5C227A
accent
#30F8B3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #183A06

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

Preview Lab → · Contrast checker → · Palette generator →

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