#125722#125722

#125722 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.108 H 147.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#125722
RGBrgb(18, 87, 34)
HSLhsl(134, 66%, 21%)
HSVhsv(134, 79%, 34%)
CMYKcmyk(79.3%, 0%, 60.9%, 65.9%)
CIE-LABlab(31.94, -33.52, 24.57)
CIE-LCHlch(31.94, 41.56, 143.76°)
OKLaboklab(40.21% -0.0903 0.0585)
OKLCHoklch(40.21% 0.108 147)
XYZxyz(3.9461, 7.0600, 2.6678)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125722 #571247
analogous
#245712 #125722 #125744
triadic
#125722 #221257 #572212
tetradic
#125722 #122457 #571247 #574412
square
#125722 #122457 #571247 #574412
split-complementary
#125722 #441257 #571224
monochromatic
#05190A #08240E #125722 #1C8A36 #27BC4A

Accessibility & contrast

On white

8.71
#125722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125722
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125722#FFFFFF#000000##FFFFFF
##1257221.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1D
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125722;
/* rgb */ color: rgb(18, 87, 34);
/* oklch */ color: oklch(40.2% 0.108 147.0);
Tailwind
colors: {
  custom: {
    50: '#5c875f',
    500: '#125722',
    950: '#000000',
  },
}
SCSS
$custom: #125722;
$custom-light: #5c875f;
$custom-dark: #000000;
JSON
{
  "hex": "#125722",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 34
  },
  "hsl": {
    "h": 133.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.10758,
    "h": 147
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#125722
secondary
#90357B
accent
#3FC1E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #125722

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

Preview Lab → · Contrast checker → · Palette generator →

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