#125422#125422

#125422 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.103 H 147.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#125422
RGBrgb(18, 84, 34)
HSLhsl(135, 65%, 20%)
HSVhsv(135, 79%, 33%)
CMYKcmyk(78.6%, 0%, 59.5%, 67.1%)
CIE-LABlab(30.84, -32.32, 23.25)
CIE-LCHlch(30.84, 39.82, 144.27°)
OKLaboklab(39.3% -0.087 0.0556)
OKLCHoklch(39.3% 0.103 147.4)
XYZxyz(3.7082, 6.5843, 2.5885)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125422 #541244
analogous
#235412 #125422 #125443
triadic
#125422 #221254 #542212
tetradic
#125422 #122354 #541244 #544312
square
#125422 #122354 #541244 #544312
split-complementary
#125422 #431254 #541223
monochromatic
#05190A #07220E #125422 #1D8636 #28B94B

Accessibility & contrast

On white

9.06
#125422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125422
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125422#FFFFFF#000000##FFFFFF
##1254221.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1D
Deuteranopia (green-blind)
#4D4626
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125422;
/* rgb */ color: rgb(18, 84, 34);
/* oklch */ color: oklch(39.3% 0.103 147.4);
Tailwind
colors: {
  custom: {
    50: '#5b855e',
    500: '#125422',
    950: '#000000',
  },
}
SCSS
$custom: #125422;
$custom-light: #5b855e;
$custom-dark: #000000;
JSON
{
  "hex": "#125422",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 34
  },
  "hsl": {
    "h": 134.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.393,
    "c": 0.1033,
    "h": 147.4
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#125422
secondary
#8D3578
accent
#40BFE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125422

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

Preview Lab → · Contrast checker → · Palette generator →

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