#125214#125214

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

Color values

HEX#125214
RGBrgb(18, 82, 20)
HSLhsl(122, 64%, 20%)
HSVhsv(122, 78%, 32%)
CMYKcmyk(78%, 0%, 75.6%, 67.8%)
CIE-LABlab(29.94, -33.41, 29.40)
CIE-LCHlch(29.94, 44.50, 138.65°)
OKLaboklab(38.51% -0.0906 0.0673)
OKLCHoklch(38.51% 0.113 143.4)
XYZxyz(3.3928, 6.2133, 1.6822)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125214 #521250
analogous
#305212 #125214 #125234
triadic
#125214 #141252 #521412
tetradic
#125214 #123052 #521250 #523412
square
#125214 #123052 #521250 #523412
split-complementary
#125214 #341252 #521230
monochromatic
#061906 #072008 #125214 #1D8420 #28B62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125214#FFFFFF#000000##FFFFFF
##1252141.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)
#544A0B
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125214;
/* rgb */ color: rgb(18, 82, 20);
/* oklch */ color: oklch(38.5% 0.113 143.4);
Tailwind
colors: {
  custom: {
    50: '#5c8355',
    500: '#125214',
    950: '#000000',
  },
}
SCSS
$custom: #125214;
$custom-light: #5c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#125214",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 121.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38506,
    "c": 0.11286,
    "h": 143.4
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#125214
secondary
#8B3588
accent
#41E2E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125214

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

Preview Lab → · Contrast checker → · Palette generator →

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