#125C22#125C22

#125C22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.115 H 146.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#125C22
RGBrgb(18, 92, 34)
HSLhsl(133, 67%, 22%)
HSVhsv(133, 80%, 36%)
CMYKcmyk(80.4%, 0%, 63%, 63.9%)
CIE-LABlab(33.77, -35.47, 26.72)
CIE-LCHlch(33.77, 44.41, 143.00°)
OKLaboklab(41.73% -0.0955 0.0632)
OKLCHoklch(41.73% 0.115 146.5)
XYZxyz(4.3650, 7.8979, 2.8075)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C22 #5C124C
analogous
#275C12 #125C22 #125C47
triadic
#125C22 #22125C #5C2212
tetradic
#125C22 #12275C #5C124C #5C4712
square
#125C22 #12275C #5C124C #5C4712
split-complementary
#125C22 #47125C #5C1227
monochromatic
#051A09 #08290F #125C22 #1C8F35 #26C248

Accessibility & contrast

On white

8.14
#125C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C22
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C22#FFFFFF#000000##FFFFFF
##125C221.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c22;
/* rgb */ color: rgb(18, 92, 34);
/* oklch */ color: oklch(41.7% 0.115 146.5);
Tailwind
colors: {
  custom: {
    50: '#5e8b5f',
    500: '#125c22',
    950: '#000000',
  },
}
SCSS
$custom: #125c22;
$custom-light: #5e8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#125c22",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 132.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.11455,
    "h": 146.5
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#125C22
secondary
#943580
accent
#3EC5EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125C22

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

Preview Lab → · Contrast checker → · Palette generator →

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