#125A22#125A22

#125A22 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.112 H 146.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#125A22
RGBrgb(18, 90, 34)
HSLhsl(133, 67%, 21%)
HSVhsv(133, 80%, 35%)
CMYKcmyk(80%, 0%, 62.2%, 64.7%)
CIE-LABlab(33.04, -34.70, 25.87)
CIE-LCHlch(33.04, 43.28, 143.29°)
OKLaboklab(41.12% -0.0934 0.0614)
OKLCHoklch(41.12% 0.112 146.7)
XYZxyz(4.1940, 7.5559, 2.7505)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A22 #5A124A
analogous
#265A12 #125A22 #125A46
triadic
#125A22 #22125A #5A2212
tetradic
#125A22 #12265A #5A124A #5A4612
square
#125A22 #12265A #5A124A #5A4612
split-complementary
#125A22 #46125A #5A1226
monochromatic
#051A0A #08270F #125A22 #1C8D35 #26C049

Accessibility & contrast

On white

8.36
#125A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A22
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A22#FFFFFF#000000##FFFFFF
##125A221.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511C
Deuteranopia (green-blind)
#534B26
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a22;
/* rgb */ color: rgb(18, 90, 34);
/* oklch */ color: oklch(41.1% 0.112 146.7);
Tailwind
colors: {
  custom: {
    50: '#5d895f',
    500: '#125a22',
    950: '#000000',
  },
}
SCSS
$custom: #125a22;
$custom-light: #5d895f;
$custom-dark: #000000;
JSON
{
  "hex": "#125a22",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 133.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.11179,
    "h": 146.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#125A22
secondary
#93357E
accent
#3EC4EA
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A22

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

Preview Lab → · Contrast checker → · Palette generator →

#125A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva