#125B27#125B27

#125B27 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.108 H 148.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#125B27
RGBrgb(18, 91, 39)
HSLhsl(137, 67%, 21%)
HSVhsv(137, 80%, 36%)
CMYKcmyk(80.2%, 0%, 57.1%, 64.3%)
CIE-LABlab(33.47, -34.30, 23.66)
CIE-LCHlch(33.47, 41.67, 145.40°)
OKLaboklab(41.5% -0.0922 0.0569)
OKLCHoklch(41.5% 0.108 148.3)
XYZxyz(4.3564, 7.7567, 3.1867)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B27 #5B1246
analogous
#225B12 #125B27 #125B4C
triadic
#125B27 #27125B #5B2712
tetradic
#125B27 #12225B #5B1246 #5B4C12
square
#125B27 #12225B #5B1246 #5B4C12
split-complementary
#125B27 #4C125B #5B1222
monochromatic
#051A0B #082811 #125B27 #1C8E3D #26C153

Accessibility & contrast

On white

8.23
#125B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B27
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B27#FFFFFF#000000##FFFFFF
##125B271.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5222
Deuteranopia (green-blind)
#544C2B
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b27;
/* rgb */ color: rgb(18, 91, 39);
/* oklch */ color: oklch(41.5% 0.108 148.3);
Tailwind
colors: {
  custom: {
    50: '#5d8a62',
    500: '#125b27',
    950: '#000000',
  },
}
SCSS
$custom: #125b27;
$custom-light: #5d8a62;
$custom-dark: #000000;
JSON
{
  "hex": "#125b27",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 39
  },
  "hsl": {
    "h": 137.26,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.415,
    "c": 0.10839,
    "h": 148.3
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#125B27
secondary
#933578
accent
#3EB8EA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125B27

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

Preview Lab → · Contrast checker → · Palette generator →

#125B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva