#125926#125926

#125926 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.107 H 148.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#125926
RGBrgb(18, 89, 38)
HSLhsl(137, 66%, 21%)
HSVhsv(137, 80%, 35%)
CMYKcmyk(79.8%, 0%, 57.3%, 65.1%)
CIE-LABlab(32.73, -33.67, 23.31)
CIE-LCHlch(32.73, 40.95, 145.30°)
OKLaboklab(40.88% -0.0906 0.0561)
OKLCHoklch(40.88% 0.107 148.2)
XYZxyz(4.1714, 7.4128, 3.0443)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125926 #591245
analogous
#215912 #125926 #125949
triadic
#125926 #261259 #592612
tetradic
#125926 #122159 #591245 #594912
square
#125926 #122159 #591245 #594912
split-complementary
#125926 #491259 #591221
monochromatic
#05190B #082610 #125926 #1C8C3C #27BF51

Accessibility & contrast

On white

8.46
#125926 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#125926 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125926
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125926#FFFFFF#000000##FFFFFF
##1259261.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5021
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125926;
/* rgb */ color: rgb(18, 89, 38);
/* oklch */ color: oklch(40.9% 0.107 148.2);
Tailwind
colors: {
  custom: {
    50: '#5d8961',
    500: '#125926',
    950: '#000000',
  },
}
SCSS
$custom: #125926;
$custom-light: #5d8961;
$custom-dark: #000000;
JSON
{
  "hex": "#125926",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 38
  },
  "hsl": {
    "h": 136.901,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.10652,
    "h": 148.2
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#125926
secondary
#923578
accent
#3FB9E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125926

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

Preview Lab → · Contrast checker → · Palette generator →

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