#125426#125426

#125426 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.099 H 149.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#125426
RGBrgb(18, 84, 38)
HSLhsl(138, 65%, 20%)
HSVhsv(138, 79%, 33%)
CMYKcmyk(78.6%, 0%, 54.8%, 67.1%)
CIE-LABlab(30.90, -31.64, 21.06)
CIE-LCHlch(30.90, 38.01, 146.35°)
OKLaboklab(39.37% -0.0851 0.051)
OKLCHoklch(39.37% 0.099 149.1)
XYZxyz(3.7693, 6.6088, 2.9103)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125426 #541240
analogous
#1F5412 #125426 #125447
triadic
#125426 #261254 #542612
tetradic
#125426 #121F54 #541240 #544712
square
#125426 #121F54 #541240 #544712
split-complementary
#125426 #471254 #54121F
monochromatic
#05190B #07220F #125426 #1D863D #28B954

Accessibility & contrast

On white

9.04
#125426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125426
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125426#FFFFFF#000000##FFFFFF
##1254261.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125426;
/* rgb */ color: rgb(18, 84, 38);
/* oklch */ color: oklch(39.4% 0.099 149.1);
Tailwind
colors: {
  custom: {
    50: '#5b8561',
    500: '#125426',
    950: '#000000',
  },
}
SCSS
$custom: #125426;
$custom-light: #5b8561;
$custom-dark: #000000;
JSON
{
  "hex": "#125426",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 38
  },
  "hsl": {
    "h": 138.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.09927,
    "h": 149.1
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#125426
secondary
#8D3572
accent
#40B5E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125426

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

Preview Lab → · Contrast checker → · Palette generator →

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