#125720#125720

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

Color values

HEX#125720
RGBrgb(18, 87, 32)
HSLhsl(132, 66%, 21%)
HSVhsv(132, 79%, 34%)
CMYKcmyk(79.3%, 0%, 63.2%, 65.9%)
CIE-LABlab(31.92, -33.82, 25.62)
CIE-LCHlch(31.92, 42.43, 142.86°)
OKLaboklab(40.18% -0.0911 0.0607)
OKLCHoklch(40.18% 0.109 146.4)
XYZxyz(3.9181, 7.0488, 2.5203)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125720 #571249
analogous
#265712 #125720 #125742
triadic
#125720 #201257 #572012
tetradic
#125720 #122657 #571249 #574212
square
#125720 #122657 #571249 #574212
split-complementary
#125720 #421257 #571226
monochromatic
#051909 #08240D #125720 #1C8A33 #27BC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125720#FFFFFF#000000##FFFFFF
##1257201.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)
#584E1A
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125720;
/* rgb */ color: rgb(18, 87, 32);
/* oklch */ color: oklch(40.2% 0.109 146.4);
Tailwind
colors: {
  custom: {
    50: '#5c875d',
    500: '#125720',
    950: '#000000',
  },
}
SCSS
$custom: #125720;
$custom-light: #5c875d;
$custom-dark: #000000;
JSON
{
  "hex": "#125720",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 32
  },
  "hsl": {
    "h": 132.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.10948,
    "h": 146.4
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#125720
secondary
#90357D
accent
#3FC6E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #125720

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

Preview Lab → · Contrast checker → · Palette generator →

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