#125219#125219

#125219 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.109 H 144.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#125219
RGBrgb(18, 82, 25)
HSLhsl(127, 64%, 20%)
HSVhsv(127, 78%, 32%)
CMYKcmyk(78%, 0%, 69.5%, 67.8%)
CIE-LABlab(29.99, -32.82, 27.05)
CIE-LCHlch(29.99, 42.53, 140.51°)
OKLaboklab(38.56% -0.0887 0.063)
OKLCHoklch(38.56% 0.109 144.6)
XYZxyz(3.4420, 6.2330, 1.9412)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125219 #52124B
analogous
#2B5212 #125219 #125239
triadic
#125219 #191252 #521912
tetradic
#125219 #122B52 #52124B #523912
square
#125219 #122B52 #52124B #523912
split-complementary
#125219 #391252 #52122B
monochromatic
#061908 #07200A #125219 #1D8428 #28B638

Accessibility & contrast

On white

9.35
#125219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125219
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125219#FFFFFF#000000##FFFFFF
##1252191.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A12
Deuteranopia (green-blind)
#4C451E
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125219;
/* rgb */ color: rgb(18, 82, 25);
/* oklch */ color: oklch(38.6% 0.109 144.6);
Tailwind
colors: {
  custom: {
    50: '#5b8358',
    500: '#125219',
    950: '#000000',
  },
}
SCSS
$custom: #125219;
$custom-light: #5b8358;
$custom-dark: #000000;
JSON
{
  "hex": "#125219",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 126.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38562,
    "c": 0.10883,
    "h": 144.6
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#125219
secondary
#8B3581
accent
#41D5E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125219

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

Preview Lab → · Contrast checker → · Palette generator →

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