#125215#125215

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

Color values

HEX#125215
RGBrgb(18, 82, 21)
HSLhsl(123, 64%, 20%)
HSVhsv(123, 78%, 32%)
CMYKcmyk(78%, 0%, 74.4%, 67.8%)
CIE-LABlab(29.95, -33.30, 28.95)
CIE-LCHlch(29.95, 44.12, 138.99°)
OKLaboklab(38.52% -0.0902 0.0665)
OKLCHoklch(38.52% 0.112 143.6)
XYZxyz(3.4019, 6.2169, 1.7300)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125215 #52124F
analogous
#2F5212 #125215 #125235
triadic
#125215 #151252 #521512
tetradic
#125215 #122F52 #52124F #523512
square
#125215 #122F52 #52124F #523512
split-complementary
#125215 #351252 #52122F
monochromatic
#061906 #072008 #125215 #1D8422 #28B62F

Accessibility & contrast

On white

9.36
#125215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125215
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125215#FFFFFF#000000##FFFFFF
##1252151.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4C451B
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125215;
/* rgb */ color: rgb(18, 82, 21);
/* oklch */ color: oklch(38.5% 0.112 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8356',
    500: '#125215',
    950: '#000000',
  },
}
SCSS
$custom: #125215;
$custom-light: #5c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#125215",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 122.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.1121,
    "h": 143.6
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#125215
secondary
#8B3587
accent
#41DFE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125215

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

Preview Lab → · Contrast checker → · Palette generator →

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