#125010#125010

#125010 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.113 H 142.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#125010
RGBrgb(18, 80, 16)
HSLhsl(118, 67%, 19%)
HSVhsv(118, 80%, 31%)
CMYKcmyk(77.5%, 0%, 80%, 68.6%)
CIE-LABlab(29.17, -33.04, 30.36)
CIE-LCHlch(29.17, 44.87, 137.42°)
OKLaboklab(37.85% -0.0898 0.0688)
OKLCHoklch(37.85% 0.113 142.6)
XYZxyz(3.2115, 5.9030, 1.4603)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125010 #4E1050
analogous
#325010 #125010 #10502E
triadic
#125010 #101250 #501012
tetradic
#125010 #103250 #4E1050 #502E10
square
#125010 #103250 #4E1050 #502E10
split-complementary
#125010 #2E1050 #501032
monochromatic
#061A05 #071D06 #125010 #1D831A #29B624

Accessibility & contrast

On white

9.63
#125010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#125010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125010
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125010#FFFFFF#000000##FFFFFF
##1250101.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#024D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125010;
/* rgb */ color: rgb(18, 80, 16);
/* oklch */ color: oklch(37.9% 0.113 142.6);
Tailwind
colors: {
  custom: {
    50: '#5b8253',
    500: '#125010',
    950: '#000000',
  },
}
SCSS
$custom: #125010;
$custom-light: #5b8253;
$custom-dark: #000000;
JSON
{
  "hex": "#125010",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 118.125,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.1131,
    "h": 142.6
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#125010
secondary
#87328A
accent
#3EEAE4
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #125010

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

Preview Lab → · Contrast checker → · Palette generator →

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