#125221#125221

#125221 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.101 H 147.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#125221
RGBrgb(18, 82, 33)
HSLhsl(134, 64%, 20%)
HSVhsv(134, 78%, 32%)
CMYKcmyk(78%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.09, -31.67, 22.91)
CIE-LCHlch(30.09, 39.09, 144.12°)
OKLaboklab(38.67% -0.0853 0.0548)
OKLCHoklch(38.67% 0.101 147.3)
XYZxyz(3.5410, 6.2726, 2.4627)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125221 #521243
analogous
#235212 #125221 #125241
triadic
#125221 #211252 #522112
tetradic
#125221 #122352 #521243 #524112
square
#125221 #122352 #521243 #524112
split-complementary
#125221 #411252 #521223
monochromatic
#06190A #07200D #125221 #1D8435 #28B649

Accessibility & contrast

On white

9.31
#125221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125221
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125221#FFFFFF#000000##FFFFFF
##1252211.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1C
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125221;
/* rgb */ color: rgb(18, 82, 33);
/* oklch */ color: oklch(38.7% 0.101 147.3);
Tailwind
colors: {
  custom: {
    50: '#5b835e',
    500: '#125221',
    950: '#000000',
  },
}
SCSS
$custom: #125221;
$custom-light: #5b835e;
$custom-dark: #000000;
JSON
{
  "hex": "#125221",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 134.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.10139,
    "h": 147.3
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#125221
secondary
#8B3577
accent
#41C0E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125221

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

Preview Lab → · Contrast checker → · Palette generator →

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