#125210#125210

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

Color values

HEX#125210
RGBrgb(18, 82, 16)
HSLhsl(118, 67%, 19%)
HSVhsv(118, 80%, 32%)
CMYKcmyk(78%, 0%, 80.5%, 67.8%)
CIE-LABlab(29.91, -33.80, 31.11)
CIE-LCHlch(29.91, 45.94, 137.37°)
OKLaboklab(38.47% -0.0919 0.0703)
OKLCHoklch(38.47% 0.116 142.6)
XYZxyz(3.3601, 6.2002, 1.5098)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125210 #501052
analogous
#335210 #125210 #10522F
triadic
#125210 #101252 #521012
tetradic
#125210 #103352 #501052 #522F10
square
#125210 #103352 #501052 #522F10
split-complementary
#125210 #2F1052 #521033
monochromatic
#061A05 #071F06 #125210 #1D851A #28B824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125210#FFFFFF#000000##FFFFFF
##1252101.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)
#544A05
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#014F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125210;
/* rgb */ color: rgb(18, 82, 16);
/* oklch */ color: oklch(38.5% 0.116 142.6);
Tailwind
colors: {
  custom: {
    50: '#5c8353',
    500: '#125210',
    950: '#000000',
  },
}
SCSS
$custom: #125210;
$custom-light: #5c8353;
$custom-dark: #000000;
JSON
{
  "hex": "#125210",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 118.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.11569,
    "h": 142.6
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#125210
secondary
#89328C
accent
#3EEAE5
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #125210

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

Preview Lab → · Contrast checker → · Palette generator →

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