#125417#125417

#125417 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.113 H 144.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#125417
RGBrgb(18, 84, 23)
HSLhsl(125, 65%, 20%)
HSVhsv(125, 79%, 33%)
CMYKcmyk(78.6%, 0%, 72.6%, 67.1%)
CIE-LABlab(30.71, -33.84, 28.82)
CIE-LCHlch(30.71, 44.45, 139.58°)
OKLaboklab(39.15% -0.0916 0.0665)
OKLCHoklch(39.15% 0.113 144)
XYZxyz(3.5742, 6.5307, 1.8826)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125417 #54124F
analogous
#2E5412 #125417 #125438
triadic
#125417 #171254 #541712
tetradic
#125417 #122E54 #54124F #543812
square
#125417 #122E54 #54124F #543812
split-complementary
#125417 #381254 #54122E
monochromatic
#051907 #072209 #125417 #1D8625 #28B933

Accessibility & contrast

On white

9.11
#125417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125417
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125417#FFFFFF#000000##FFFFFF
##1254171.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125417;
/* rgb */ color: rgb(18, 84, 23);
/* oklch */ color: oklch(39.2% 0.113 144.0);
Tailwind
colors: {
  custom: {
    50: '#5c8557',
    500: '#125417',
    950: '#000000',
  },
}
SCSS
$custom: #125417;
$custom-light: #5c8557;
$custom-dark: #000000;
JSON
{
  "hex": "#125417",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 124.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39153,
    "c": 0.1132,
    "h": 144
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#125417
secondary
#8D3586
accent
#40DBE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125417

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

Preview Lab → · Contrast checker → · Palette generator →

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