#125022#125022

#125022 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.097 H 148.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#125022
RGBrgb(18, 80, 34)
HSLhsl(135, 63%, 19%)
HSVhsv(135, 78%, 31%)
CMYKcmyk(77.5%, 0%, 57.5%, 68.6%)
CIE-LABlab(29.36, -30.68, 21.46)
CIE-LCHlch(29.36, 37.44, 145.03°)
OKLaboklab(38.08% -0.0826 0.0517)
OKLCHoklch(38.08% 0.097 148)
XYZxyz(3.4066, 5.9810, 2.4880)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125022 #501240
analogous
#215012 #125022 #125041
triadic
#125022 #221250 #502212
tetradic
#125022 #122150 #501240 #504112
square
#125022 #122150 #501240 #504112
split-complementary
#125022 #411250 #501221
monochromatic
#06190B #071E0D #125022 #1D8237 #28B44C

Accessibility & contrast

On white

9.56
#125022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#125022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125022
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125022#FFFFFF#000000##FFFFFF
##1250221.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481E
Deuteranopia (green-blind)
#4A4325
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125022;
/* rgb */ color: rgb(18, 80, 34);
/* oklch */ color: oklch(38.1% 0.097 148.0);
Tailwind
colors: {
  custom: {
    50: '#5a825e',
    500: '#125022',
    950: '#000000',
  },
}
SCSS
$custom: #125022;
$custom-light: #5a825e;
$custom-dark: #000000;
JSON
{
  "hex": "#125022",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 135.484,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.09746,
    "h": 148
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#125022
secondary
#893573
accent
#41BCE6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #125022

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

Preview Lab → · Contrast checker → · Palette generator →

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