#125626#125626

#125626 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.102 H 148.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#125626
RGBrgb(18, 86, 38)
HSLhsl(138, 65%, 20%)
HSVhsv(138, 79%, 34%)
CMYKcmyk(79.1%, 0%, 55.8%, 66.3%)
CIE-LABlab(31.63, -32.46, 21.97)
CIE-LCHlch(31.63, 39.20, 145.91°)
OKLaboklab(39.97% -0.0873 0.0531)
OKLCHoklch(39.97% 0.102 148.7)
XYZxyz(3.9268, 6.9237, 2.9628)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125626 #561242
analogous
#205612 #125626 #125648
triadic
#125626 #261256 #562612
tetradic
#125626 #122056 #561242 #564812
square
#125626 #122056 #561242 #564812
split-complementary
#125626 #481256 #561220
monochromatic
#05190B #072310 #125626 #1D893C #27BB53

Accessibility & contrast

On white

8.81
#125626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#125626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125626
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125626#FFFFFF#000000##FFFFFF
##1256261.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E22
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125626;
/* rgb */ color: rgb(18, 86, 38);
/* oklch */ color: oklch(40.0% 0.102 148.7);
Tailwind
colors: {
  custom: {
    50: '#5c8661',
    500: '#125626',
    950: '#000000',
  },
}
SCSS
$custom: #125626;
$custom-light: #5c8661;
$custom-dark: #000000;
JSON
{
  "hex": "#125626",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 38
  },
  "hsl": {
    "h": 137.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39973,
    "c": 0.10219,
    "h": 148.7
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#125626
secondary
#8F3574
accent
#3FB7E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125626

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

Preview Lab → · Contrast checker → · Palette generator →

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