#125726#125726

#125726 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.104 H 148.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#125726
RGBrgb(18, 87, 38)
HSLhsl(137, 66%, 21%)
HSVhsv(137, 79%, 34%)
CMYKcmyk(79.3%, 0%, 56.3%, 65.9%)
CIE-LABlab(32.00, -32.87, 22.42)
CIE-LCHlch(32.00, 39.79, 145.70°)
OKLaboklab(40.28% -0.0884 0.0541)
OKLCHoklch(40.28% 0.104 148.5)
XYZxyz(4.0072, 7.0845, 2.9896)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125726 #571243
analogous
#215712 #125726 #125748
triadic
#125726 #261257 #572612
tetradic
#125726 #122157 #571243 #574812
square
#125726 #122157 #571243 #574812
split-complementary
#125726 #481257 #571221
monochromatic
#05190B #082410 #125726 #1C8A3C #27BC52

Accessibility & contrast

On white

8.69
#125726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#125726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125726
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125726#FFFFFF#000000##FFFFFF
##1257261.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F22
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125726;
/* rgb */ color: rgb(18, 87, 38);
/* oklch */ color: oklch(40.3% 0.104 148.5);
Tailwind
colors: {
  custom: {
    50: '#5c8761',
    500: '#125726',
    950: '#000000',
  },
}
SCSS
$custom: #125726;
$custom-light: #5c8761;
$custom-dark: #000000;
JSON
{
  "hex": "#125726",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 38
  },
  "hsl": {
    "h": 137.391,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.10365,
    "h": 148.5
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#125726
secondary
#903575
accent
#3FB8E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125726

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

Preview Lab → · Contrast checker → · Palette generator →

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