#185121#185121

#185121 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.097 H 146.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#185121
RGBrgb(24, 81, 33)
HSLhsl(129, 54%, 21%)
HSVhsv(129, 70%, 32%)
CMYKcmyk(70.4%, 0%, 59.3%, 68.2%)
CIE-LABlab(29.88, -29.96, 22.69)
CIE-LCHlch(29.88, 37.58, 142.86°)
OKLaboklab(38.55% -0.0809 0.0543)
OKLCHoklch(38.55% 0.097 146.1)
XYZxyz(3.5934, 6.1885, 2.4437)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185121 #511848
analogous
#2B5118 #185121 #18513D
triadic
#185121 #211851 #512118
tetradic
#185121 #182B51 #511848 #513D18
square
#185121 #182B51 #511848 #513D18
split-complementary
#185121 #3D1851 #51182B
monochromatic
#07180A #0A220E #185121 #268034 #34AF47

Accessibility & contrast

On white

9.38
#185121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#185121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185121
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185121#FFFFFF#000000##FFFFFF
##1851211.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491D
Deuteranopia (green-blind)
#4B4425
Tritanopia (blue-blind)
#084F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #185121;
/* rgb */ color: rgb(24, 81, 33);
/* oklch */ color: oklch(38.5% 0.097 146.1);
Tailwind
colors: {
  custom: {
    50: '#5d825d',
    500: '#185121',
    950: '#000000',
  },
}
SCSS
$custom: #185121;
$custom-light: #5d825d;
$custom-dark: #000000;
JSON
{
  "hex": "#185121",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 129.474,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.09749,
    "h": 146.1
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#185121
secondary
#883D7C
accent
#4AC6DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #185121

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

Preview Lab → · Contrast checker → · Palette generator →

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