#125325#125325

#125325 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.099 H 148.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#125325
RGBrgb(18, 83, 37)
HSLhsl(138, 64%, 20%)
HSVhsv(138, 78%, 33%)
CMYKcmyk(78.3%, 0%, 55.4%, 67.5%)
CIE-LABlab(30.52, -31.41, 21.16)
CIE-LCHlch(30.52, 37.87, 146.03°)
OKLaboklab(39.05% -0.0845 0.0512)
OKLCHoklch(39.05% 0.099 148.8)
XYZxyz(3.6764, 6.4483, 2.8008)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125325 #531240
analogous
#205312 #125325 #125345
triadic
#125325 #251253 #532512
tetradic
#125325 #122053 #531240 #534512
square
#125325 #122053 #531240 #534512
split-complementary
#125325 #451253 #531220
monochromatic
#05190B #07210F #125325 #1D853B #28B852

Accessibility & contrast

On white

9.17
#125325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125325 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125325
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125325#FFFFFF#000000##FFFFFF
##1253251.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B21
Deuteranopia (green-blind)
#4C4628
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125325;
/* rgb */ color: rgb(18, 83, 37);
/* oklch */ color: oklch(39.0% 0.099 148.8);
Tailwind
colors: {
  custom: {
    50: '#5b8460',
    500: '#125325',
    950: '#000000',
  },
}
SCSS
$custom: #125325;
$custom-light: #5b8460;
$custom-dark: #000000;
JSON
{
  "hex": "#125325",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 37
  },
  "hsl": {
    "h": 137.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.09882,
    "h": 148.8
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#125325
secondary
#8C3572
accent
#40B7E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125325

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

Preview Lab → · Contrast checker → · Palette generator →

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