#125222#125222

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

Color values

HEX#125222
RGBrgb(18, 82, 34)
HSLhsl(135, 64%, 20%)
HSVhsv(135, 78%, 32%)
CMYKcmyk(78%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.10, -31.51, 22.36)
CIE-LCHlch(30.10, 38.64, 144.64°)
OKLaboklab(38.69% -0.0848 0.0537)
OKLCHoklch(38.69% 0.1 147.7)
XYZxyz(3.5552, 6.2783, 2.5375)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125222 #521242
analogous
#225212 #125222 #125242
triadic
#125222 #221252 #522212
tetradic
#125222 #122252 #521242 #524212
square
#125222 #122252 #521242 #524212
split-complementary
#125222 #421252 #521222
monochromatic
#06190A #07200D #125222 #1D8437 #28B64C

Accessibility & contrast

On white

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

On black

2.26
#125222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125222#FFFFFF#000000##FFFFFF
##1252221.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125222;
/* rgb */ color: rgb(18, 82, 34);
/* oklch */ color: oklch(38.7% 0.100 147.7);
Tailwind
colors: {
  custom: {
    50: '#5b835e',
    500: '#125222',
    950: '#000000',
  },
}
SCSS
$custom: #125222;
$custom-light: #5b835e;
$custom-dark: #000000;
JSON
{
  "hex": "#125222",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 135,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.1004,
    "h": 147.7
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#125222
secondary
#8B3575
accent
#41BDE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125222

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

Preview Lab → · Contrast checker → · Palette generator →

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