#125211#125211

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

Color values

HEX#125211
RGBrgb(18, 82, 17)
HSLhsl(119, 66%, 19%)
HSVhsv(119, 79%, 32%)
CMYKcmyk(78%, 0%, 79.3%, 67.8%)
CIE-LABlab(29.92, -33.71, 30.70)
CIE-LCHlch(29.92, 45.59, 137.67°)
OKLaboklab(38.48% -0.0916 0.0696)
OKLCHoklch(38.48% 0.115 142.8)
XYZxyz(3.3677, 6.2033, 1.5501)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125211 #511152
analogous
#335211 #125211 #115231
triadic
#125211 #111252 #521112
tetradic
#125211 #113352 #511152 #523111
square
#125211 #113352 #511152 #523111
split-complementary
#125211 #311152 #521133
monochromatic
#061905 #071F06 #125211 #1D851C #28B726

Accessibility & contrast

On white

9.37
#125211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125211
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125211#FFFFFF#000000##FFFFFF
##1252111.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125211;
/* rgb */ color: rgb(18, 82, 17);
/* oklch */ color: oklch(38.5% 0.115 142.8);
Tailwind
colors: {
  custom: {
    50: '#5c8354',
    500: '#125211',
    950: '#000000',
  },
}
SCSS
$custom: #125211;
$custom-light: #5c8354;
$custom-dark: #000000;
JSON
{
  "hex": "#125211",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 119.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.11502,
    "h": 142.8
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#125211
secondary
#8A348B
accent
#3FE9E6
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #125211

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

Preview Lab → · Contrast checker → · Palette generator →

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