#125924#125924

#125924 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.108 H 147.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#125924
RGBrgb(18, 89, 36)
HSLhsl(135, 66%, 21%)
HSVhsv(135, 80%, 35%)
CMYKcmyk(79.8%, 0%, 59.6%, 65.1%)
CIE-LABlab(32.70, -34.00, 24.39)
CIE-LCHlch(32.70, 41.84, 144.35°)
OKLaboklab(40.85% -0.0915 0.0583)
OKLCHoklch(40.85% 0.108 147.5)
XYZxyz(4.1400, 7.4003, 2.8789)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125924 #591247
analogous
#235912 #125924 #125947
triadic
#125924 #241259 #592412
tetradic
#125924 #122359 #591247 #594712
square
#125924 #122359 #591247 #594712
split-complementary
#125924 #471259 #591223
monochromatic
#05190A #08260F #125924 #1C8C39 #27BF4D

Accessibility & contrast

On white

8.47
#125924 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125924 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125924
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125924#FFFFFF#000000##FFFFFF
##1259241.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501F
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125924;
/* rgb */ color: rgb(18, 89, 36);
/* oklch */ color: oklch(40.8% 0.108 147.5);
Tailwind
colors: {
  custom: {
    50: '#5d8960',
    500: '#125924',
    950: '#000000',
  },
}
SCSS
$custom: #125924;
$custom-light: #5d8960;
$custom-dark: #000000;
JSON
{
  "hex": "#125924",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 36
  },
  "hsl": {
    "h": 135.211,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.10849,
    "h": 147.5
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#125924
secondary
#92357A
accent
#3FBEE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125924

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

Preview Lab → · Contrast checker → · Palette generator →

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