#125216#125216

#125216 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.111 H 143.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#125216
RGBrgb(18, 82, 22)
HSLhsl(124, 64%, 20%)
HSVhsv(124, 78%, 32%)
CMYKcmyk(78%, 0%, 73.2%, 67.8%)
CIE-LABlab(29.96, -33.19, 28.49)
CIE-LCHlch(29.96, 43.74, 139.36°)
OKLaboklab(38.53% -0.0899 0.0657)
OKLCHoklch(38.53% 0.111 143.8)
XYZxyz(3.4113, 6.2207, 1.7798)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125216 #52124E
analogous
#2E5212 #125216 #125236
triadic
#125216 #161252 #521612
tetradic
#125216 #122E52 #52124E #523612
square
#125216 #122E52 #52124E #523612
split-complementary
#125216 #361252 #52122E
monochromatic
#061907 #072009 #125216 #1D8423 #28B631

Accessibility & contrast

On white

9.36
#125216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#125216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125216
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125216#FFFFFF#000000##FFFFFF
##1252161.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125216;
/* rgb */ color: rgb(18, 82, 22);
/* oklch */ color: oklch(38.5% 0.111 143.8);
Tailwind
colors: {
  custom: {
    50: '#5c8356',
    500: '#125216',
    950: '#000000',
  },
}
SCSS
$custom: #125216;
$custom-light: #5c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#125216",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 123.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38527,
    "c": 0.11131,
    "h": 143.8
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#125216
secondary
#8B3585
accent
#41DDE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125216

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

Preview Lab → · Contrast checker → · Palette generator →

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