#125213#125213

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

Color values

HEX#125213
RGBrgb(18, 82, 19)
HSLhsl(121, 64%, 20%)
HSVhsv(121, 78%, 32%)
CMYKcmyk(78%, 0%, 76.8%, 67.8%)
CIE-LABlab(29.94, -33.51, 29.85)
CIE-LCHlch(29.94, 44.87, 138.31°)
OKLaboklab(38.5% -0.0909 0.0681)
OKLCHoklch(38.5% 0.114 143.2)
XYZxyz(3.3841, 6.2098, 1.6362)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125213 #521251
analogous
#315212 #125213 #125233
triadic
#125213 #131252 #521312
tetradic
#125213 #123152 #521251 #523312
square
#125213 #123152 #521251 #523312
split-complementary
#125213 #331252 #521231
monochromatic
#061906 #072007 #125213 #1D841F #28B62A

Accessibility & contrast

On white

9.37
#125213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125213
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125213#FFFFFF#000000##FFFFFF
##1252131.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125213;
/* rgb */ color: rgb(18, 82, 19);
/* oklch */ color: oklch(38.5% 0.114 143.2);
Tailwind
colors: {
  custom: {
    50: '#5c8355',
    500: '#125213',
    950: '#000000',
  },
}
SCSS
$custom: #125213;
$custom-light: #5c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#125213",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 120.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38496,
    "c": 0.11361,
    "h": 143.2
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#125213
secondary
#8B358A
accent
#41E4E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125213

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

Preview Lab → · Contrast checker → · Palette generator →

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