#125517#125517

#125517 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.115 H 144.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#125517
RGBrgb(18, 85, 23)
HSLhsl(124, 65%, 20%)
HSVhsv(124, 79%, 33%)
CMYKcmyk(78.8%, 0%, 72.9%, 66.7%)
CIE-LABlab(31.08, -34.22, 29.22)
CIE-LCHlch(31.08, 45.00, 139.50°)
OKLaboklab(39.46% -0.0926 0.0674)
OKLCHoklch(39.46% 0.115 144)
XYZxyz(3.6524, 6.6870, 1.9087)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125517 #551250
analogous
#2E5512 #125517 #125539
triadic
#125517 #171255 #551712
tetradic
#125517 #122E55 #551250 #553912
square
#125517 #122E55 #551250 #553912
split-complementary
#125517 #391255 #55122E
monochromatic
#051907 #072209 #125517 #1D8825 #27BA32

Accessibility & contrast

On white

8.98
#125517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125517
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125517#FFFFFF#000000##FFFFFF
##1255171.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125517;
/* rgb */ color: rgb(18, 85, 23);
/* oklch */ color: oklch(39.5% 0.115 144.0);
Tailwind
colors: {
  custom: {
    50: '#5c8657',
    500: '#125517',
    950: '#000000',
  },
}
SCSS
$custom: #125517;
$custom-light: #5c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#125517",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 124.478,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.11453,
    "h": 144
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125517

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

Preview Lab → · Contrast checker → · Palette generator →

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