#125E22#125E22

#125E22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.117 H 146.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125E22
RGBrgb(18, 94, 34)
HSLhsl(133, 68%, 22%)
HSVhsv(133, 81%, 37%)
CMYKcmyk(80.9%, 0%, 63.8%, 63.1%)
CIE-LABlab(34.50, -36.23, 27.57)
CIE-LCHlch(34.50, 45.53, 142.73°)
OKLaboklab(42.33% -0.0976 0.0651)
OKLCHoklch(42.33% 0.117 146.3)
XYZxyz(4.5406, 8.2490, 2.8660)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E22 #5E124E
analogous
#285E12 #125E22 #125E48
triadic
#125E22 #22125E #5E2212
tetradic
#125E22 #12285E #5E124E #5E4812
square
#125E22 #12285E #5E124E #5E4812
split-complementary
#125E22 #48125E #5E1228
monochromatic
#051A09 #082B0F #125E22 #1C9135 #26C547

Accessibility & contrast

On white

7.93
#125E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E22
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E22#FFFFFF#000000##FFFFFF
##125E221.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e22;
/* rgb */ color: rgb(18, 94, 34);
/* oklch */ color: oklch(42.3% 0.117 146.3);
Tailwind
colors: {
  custom: {
    50: '#5e8c5f',
    500: '#125e22',
    950: '#000000',
  },
}
SCSS
$custom: #125e22;
$custom-light: #5e8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#125e22",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 132.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.11729,
    "h": 146.3
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#125E22
secondary
#963582
accent
#3DC6EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125E22

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

Preview Lab → · Contrast checker → · Palette generator →

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