#125122#125122

#125122 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.099 H 147.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#125122
RGBrgb(18, 81, 34)
HSLhsl(135, 64%, 19%)
HSVhsv(135, 78%, 32%)
CMYKcmyk(77.8%, 0%, 58%, 68.2%)
CIE-LABlab(29.73, -31.10, 21.91)
CIE-LCHlch(29.73, 38.04, 144.83°)
OKLaboklab(38.38% -0.0837 0.0527)
OKLCHoklch(38.38% 0.099 147.8)
XYZxyz(3.4804, 6.1286, 2.5126)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125122 #511241
analogous
#225112 #125122 #125142
triadic
#125122 #221251 #512212
tetradic
#125122 #122251 #511241 #514212
square
#125122 #122251 #511241 #514212
split-complementary
#125122 #421251 #511222
monochromatic
#06190B #071F0D #125122 #1D8337 #28B54C

Accessibility & contrast

On white

9.43
#125122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#125122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125122
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125122#FFFFFF#000000##FFFFFF
##1251221.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#4A4426
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125122;
/* rgb */ color: rgb(18, 81, 34);
/* oklch */ color: oklch(38.4% 0.099 147.8);
Tailwind
colors: {
  custom: {
    50: '#5b825e',
    500: '#125122',
    950: '#000000',
  },
}
SCSS
$custom: #125122;
$custom-light: #5b825e;
$custom-dark: #000000;
JSON
{
  "hex": "#125122",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 135.238,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.09893,
    "h": 147.8
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#125122
secondary
#8A3574
accent
#41BDE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #125122

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

Preview Lab → · Contrast checker → · Palette generator →

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