#125224#125224

#125224 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.098 H 148.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#125224
RGBrgb(18, 82, 36)
HSLhsl(137, 64%, 20%)
HSVhsv(137, 78%, 32%)
CMYKcmyk(78%, 0%, 56.1%, 67.8%)
CIE-LABlab(30.13, -31.17, 21.26)
CIE-LCHlch(30.13, 37.73, 145.70°)
OKLaboklab(38.72% -0.0839 0.0514)
OKLCHoklch(38.72% 0.098 148.5)
XYZxyz(3.5849, 6.2902, 2.6939)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125224 #521240
analogous
#205212 #125224 #125244
triadic
#125224 #241252 #522412
tetradic
#125224 #122052 #521240 #524412
square
#125224 #122052 #521240 #524412
split-complementary
#125224 #441252 #521220
monochromatic
#06190B #07200E #125224 #1D843A #28B650

Accessibility & contrast

On white

9.30
#125224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#125224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125224
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125224#FFFFFF#000000##FFFFFF
##1252241.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A20
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125224;
/* rgb */ color: rgb(18, 82, 36);
/* oklch */ color: oklch(38.7% 0.098 148.5);
Tailwind
colors: {
  custom: {
    50: '#5b8360',
    500: '#125224',
    950: '#000000',
  },
}
SCSS
$custom: #125224;
$custom-light: #5b8360;
$custom-dark: #000000;
JSON
{
  "hex": "#125224",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 36
  },
  "hsl": {
    "h": 136.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.09838,
    "h": 148.5
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#125224
secondary
#8B3573
accent
#41B8E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125224

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

Preview Lab → · Contrast checker → · Palette generator →

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