#125714#125714

#125714 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.119 H 143.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#125714
RGBrgb(18, 87, 20)
HSLhsl(122, 66%, 21%)
HSVhsv(122, 79%, 34%)
CMYKcmyk(79.3%, 0%, 77%, 65.9%)
CIE-LABlab(31.80, -35.29, 31.34)
CIE-LCHlch(31.80, 47.20, 138.39°)
OKLaboklab(40.04% -0.0957 0.0714)
OKLCHoklch(40.04% 0.119 143.3)
XYZxyz(3.7837, 6.9951, 1.8125)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125714 #571255
analogous
#325712 #125714 #125736
triadic
#125714 #141257 #571412
tetradic
#125714 #123257 #571255 #573612
square
#125714 #123257 #571255 #573612
split-complementary
#125714 #361257 #571232
monochromatic
#051906 #082408 #125714 #1C8A20 #27BC2B

Accessibility & contrast

On white

8.75
#125714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125714
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125714#FFFFFF#000000##FFFFFF
##1257141.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125714;
/* rgb */ color: rgb(18, 87, 20);
/* oklch */ color: oklch(40.0% 0.119 143.3);
Tailwind
colors: {
  custom: {
    50: '#5d8756',
    500: '#125714',
    950: '#000000',
  },
}
SCSS
$custom: #125714;
$custom-light: #5d8756;
$custom-dark: #000000;
JSON
{
  "hex": "#125714",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 121.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.11939,
    "h": 143.3
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#125714
secondary
#90358D
accent
#3FE4E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125714

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

Preview Lab → · Contrast checker → · Palette generator →

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