#125317#125317

#125317 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.112 H 144.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#125317
RGBrgb(18, 83, 23)
HSLhsl(125, 64%, 20%)
HSVhsv(125, 78%, 33%)
CMYKcmyk(78.3%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.34, -33.46, 28.42)
CIE-LCHlch(30.34, 43.90, 139.65°)
OKLaboklab(38.85% -0.0905 0.0657)
OKLCHoklch(38.85% 0.112 144)
XYZxyz(3.4971, 6.3766, 1.8569)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125317 #53124E
analogous
#2E5312 #125317 #125337
triadic
#125317 #171253 #531712
tetradic
#125317 #122E53 #53124E #533712
square
#125317 #122E53 #53124E #533712
split-complementary
#125317 #371253 #53122E
monochromatic
#051907 #072109 #125317 #1D8525 #28B833

Accessibility & contrast

On white

9.23
#125317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125317
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125317#FFFFFF#000000##FFFFFF
##1253171.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125317;
/* rgb */ color: rgb(18, 83, 23);
/* oklch */ color: oklch(38.8% 0.112 144.0);
Tailwind
colors: {
  custom: {
    50: '#5c8457',
    500: '#125317',
    950: '#000000',
  },
}
SCSS
$custom: #125317;
$custom-light: #5c8457;
$custom-dark: #000000;
JSON
{
  "hex": "#125317",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 124.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.11186,
    "h": 144
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#125317
secondary
#8C3585
accent
#40DBE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125317

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

Preview Lab → · Contrast checker → · Palette generator →

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