#125412#125412

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

Color values

HEX#125412
RGBrgb(18, 84, 18)
HSLhsl(120, 65%, 20%)
HSVhsv(120, 79%, 33%)
CMYKcmyk(78.6%, 0%, 78.6%, 67.1%)
CIE-LABlab(30.67, -34.37, 31.04)
CIE-LCHlch(30.67, 46.31, 137.91°)
OKLaboklab(39.1% -0.0933 0.0705)
OKLCHoklch(39.1% 0.117 142.9)
XYZxyz(3.5287, 6.5125, 1.6432)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125412 #541254
analogous
#335412 #125412 #125433
triadic
#125412 #121254 #541212
tetradic
#125412 #123354 #541254 #543312
square
#125412 #123354 #541254 #543312
split-complementary
#125412 #331254 #541233
monochromatic
#051905 #072207 #125412 #1D861D #28B928

Accessibility & contrast

On white

9.12
#125412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125412
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125412#FFFFFF#000000##FFFFFF
##1254121.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125412;
/* rgb */ color: rgb(18, 84, 18);
/* oklch */ color: oklch(39.1% 0.117 142.9);
Tailwind
colors: {
  custom: {
    50: '#5c8554',
    500: '#125412',
    950: '#000000',
  },
}
SCSS
$custom: #125412;
$custom-light: #5c8554;
$custom-dark: #000000;
JSON
{
  "hex": "#125412",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.11692,
    "h": 142.9
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#125412
secondary
#8D358D
accent
#40E8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125412

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

Preview Lab → · Contrast checker → · Palette generator →

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