#125729#125729

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

Color values

HEX#125729
RGBrgb(18, 87, 41)
HSLhsl(140, 66%, 21%)
HSVhsv(140, 79%, 34%)
CMYKcmyk(79.3%, 0%, 52.9%, 65.9%)
CIE-LABlab(32.04, -32.34, 20.76)
CIE-LCHlch(32.04, 38.43, 147.30°)
OKLaboklab(40.33% -0.087 0.0505)
OKLCHoklch(40.33% 0.101 149.8)
XYZxyz(4.0576, 7.1046, 3.2549)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125729 #571240
analogous
#1D5712 #125729 #12574B
triadic
#125729 #291257 #572912
tetradic
#125729 #121D57 #571240 #574B12
square
#125729 #121D57 #571240 #574B12
split-complementary
#125729 #4B1257 #57121D
monochromatic
#05190C #082411 #125729 #1C8A41 #27BC59

Accessibility & contrast

On white

8.67
#125729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125729
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125729#FFFFFF#000000##FFFFFF
##1257291.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F25
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125729;
/* rgb */ color: rgb(18, 87, 41);
/* oklch */ color: oklch(40.3% 0.101 149.8);
Tailwind
colors: {
  custom: {
    50: '#5c8763',
    500: '#125729',
    950: '#000000',
  },
}
SCSS
$custom: #125729;
$custom-light: #5c8763;
$custom-dark: #000000;
JSON
{
  "hex": "#125729",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 41
  },
  "hsl": {
    "h": 140,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.10058,
    "h": 149.8
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#125729
secondary
#903571
accent
#3FB0E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125729

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

Preview Lab → · Contrast checker → · Palette generator →

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