#125015#125015

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

Color values

HEX#125015
RGBrgb(18, 80, 21)
HSLhsl(123, 63%, 19%)
HSVhsv(123, 78%, 31%)
CMYKcmyk(77.5%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.21, -32.52, 28.15)
CIE-LCHlch(29.21, 43.01, 139.12°)
OKLaboklab(37.9% -0.0881 0.0648)
OKLCHoklch(37.9% 0.109 143.7)
XYZxyz(3.2533, 5.9197, 1.6805)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125015 #50124D
analogous
#2E5012 #125015 #125034
triadic
#125015 #151250 #501512
tetradic
#125015 #122E50 #50124D #503412
square
#125015 #122E50 #50124D #503412
split-complementary
#125015 #341250 #50122E
monochromatic
#061907 #071E08 #125015 #1D8222 #28B42F

Accessibility & contrast

On white

9.62
#125015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125015
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125015#FFFFFF#000000##FFFFFF
##1250151.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125015;
/* rgb */ color: rgb(18, 80, 21);
/* oklch */ color: oklch(37.9% 0.109 143.7);
Tailwind
colors: {
  custom: {
    50: '#5b8256',
    500: '#125015',
    950: '#000000',
  },
}
SCSS
$custom: #125015;
$custom-light: #5b8256;
$custom-dark: #000000;
JSON
{
  "hex": "#125015",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 122.903,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.10942,
    "h": 143.7
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#125015
secondary
#893585
accent
#41DEE6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #125015

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

Preview Lab → · Contrast checker → · Palette generator →

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