#125927#125927

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

Color values

HEX#125927
RGBrgb(18, 89, 39)
HSLhsl(138, 66%, 21%)
HSVhsv(138, 80%, 35%)
CMYKcmyk(79.8%, 0%, 56.2%, 65.1%)
CIE-LABlab(32.74, -33.50, 22.77)
CIE-LCHlch(32.74, 40.51, 145.80°)
OKLaboklab(40.9% -0.0901 0.0549)
OKLCHoklch(40.9% 0.106 148.6)
XYZxyz(4.1877, 7.4194, 3.1304)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125927 #591244
analogous
#215912 #125927 #12594A
triadic
#125927 #271259 #592712
tetradic
#125927 #122159 #591244 #594A12
square
#125927 #122159 #591244 #594A12
split-complementary
#125927 #4A1259 #591221
monochromatic
#05190B #082611 #125927 #1C8C3D #27BF54

Accessibility & contrast

On white

8.45
#125927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125927
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125927#FFFFFF#000000##FFFFFF
##1259271.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5123
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125927;
/* rgb */ color: rgb(18, 89, 39);
/* oklch */ color: oklch(40.9% 0.106 148.6);
Tailwind
colors: {
  custom: {
    50: '#5d8962',
    500: '#125927',
    950: '#000000',
  },
}
SCSS
$custom: #125927;
$custom-light: #5d8962;
$custom-dark: #000000;
JSON
{
  "hex": "#125927",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 39
  },
  "hsl": {
    "h": 137.746,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.10553,
    "h": 148.6
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#125927
secondary
#923576
accent
#3FB7E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125927

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

Preview Lab → · Contrast checker → · Palette generator →

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