#125B22#125B22

#125B22 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.113 H 146.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#125B22
RGBrgb(18, 91, 34)
HSLhsl(133, 67%, 21%)
HSVhsv(133, 80%, 36%)
CMYKcmyk(80.2%, 0%, 62.6%, 64.3%)
CIE-LABlab(33.41, -35.08, 26.30)
CIE-LCHlch(33.41, 43.84, 143.15°)
OKLaboklab(41.42% -0.0945 0.0623)
OKLCHoklch(41.42% 0.113 146.6)
XYZxyz(4.2790, 7.7258, 2.7788)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B22 #5B124B
analogous
#275B12 #125B22 #125B47
triadic
#125B22 #22125B #5B2212
tetradic
#125B22 #12275B #5B124B #5B4712
square
#125B22 #12275B #5B124B #5B4712
split-complementary
#125B22 #47125B #5B1227
monochromatic
#051A0A #08280F #125B22 #1C8E35 #26C148

Accessibility & contrast

On white

8.25
#125B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B22
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B22#FFFFFF#000000##FFFFFF
##125B221.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b22;
/* rgb */ color: rgb(18, 91, 34);
/* oklch */ color: oklch(41.4% 0.113 146.6);
Tailwind
colors: {
  custom: {
    50: '#5d8a5f',
    500: '#125b22',
    950: '#000000',
  },
}
SCSS
$custom: #125b22;
$custom-light: #5d8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#125b22",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 133.151,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.11318,
    "h": 146.6
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#125B22
secondary
#93357F
accent
#3EC4EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B22

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

Preview Lab → · Contrast checker → · Palette generator →

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