#125414#125414

#125414 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.115 H 143.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#125414
RGBrgb(18, 84, 20)
HSLhsl(122, 65%, 20%)
HSVhsv(122, 79%, 33%)
CMYKcmyk(78.6%, 0%, 76.2%, 67.1%)
CIE-LABlab(30.69, -34.17, 30.18)
CIE-LCHlch(30.69, 45.59, 138.54°)
OKLaboklab(39.12% -0.0926 0.069)
OKLCHoklch(39.12% 0.115 143.3)
XYZxyz(3.5458, 6.5194, 1.7332)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125414 #541252
analogous
#315412 #125414 #125435
triadic
#125414 #141254 #541412
tetradic
#125414 #123154 #541252 #543512
square
#125414 #123154 #541252 #543512
split-complementary
#125414 #351254 #541231
monochromatic
#051906 #072208 #125414 #1D8620 #28B92C

Accessibility & contrast

On white

9.11
#125414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#125414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125414
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125414#FFFFFF#000000##FFFFFF
##1254141.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0A
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125414;
/* rgb */ color: rgb(18, 84, 20);
/* oklch */ color: oklch(39.1% 0.115 143.3);
Tailwind
colors: {
  custom: {
    50: '#5c8556',
    500: '#125414',
    950: '#000000',
  },
}
SCSS
$custom: #125414;
$custom-light: #5c8556;
$custom-dark: #000000;
JSON
{
  "hex": "#125414",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 121.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39122,
    "c": 0.11549,
    "h": 143.3
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#125414
secondary
#8D358A
accent
#40E3E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125414

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

Preview Lab → · Contrast checker → · Palette generator →

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