#185012#185012

#185012 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.109 H 141.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#185012
RGBrgb(24, 80, 18)
HSLhsl(114, 63%, 19%)
HSVhsv(114, 78%, 31%)
CMYKcmyk(70%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.35, -31.46, 29.73)
CIE-LCHlch(29.35, 43.29, 136.62°)
OKLaboklab(38.05% -0.0858 0.0677)
OKLCHoklch(38.05% 0.109 141.7)
XYZxyz(3.3544, 5.9749, 1.5486)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185012 #4A1250
analogous
#375012 #185012 #12502B
triadic
#185012 #121850 #501218
tetradic
#185012 #123750 #4A1250 #502B12
square
#185012 #123750 #4A1250 #502B12
split-complementary
#185012 #2B1250 #501237
monochromatic
#071906 #091E07 #185012 #27821D #36B428

Accessibility & contrast

On white

9.57
#185012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#185012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185012
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185012#FFFFFF#000000##FFFFFF
##1850121.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#0E4D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #185012;
/* rgb */ color: rgb(24, 80, 18);
/* oklch */ color: oklch(38.1% 0.109 141.7);
Tailwind
colors: {
  custom: {
    50: '#5e8254',
    500: '#185012',
    950: '#000000',
  },
}
SCSS
$custom: #185012;
$custom-light: #5e8254;
$custom-dark: #000000;
JSON
{
  "hex": "#185012",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 114.194,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.10929,
    "h": 141.7
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#185012
secondary
#813589
accent
#41E6D6
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #185012

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

Preview Lab → · Contrast checker → · Palette generator →

#185012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva