#125A27#125A27

#125A27 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.107 H 148.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#125A27
RGBrgb(18, 90, 39)
HSLhsl(138, 67%, 21%)
HSVhsv(138, 80%, 35%)
CMYKcmyk(80%, 0%, 56.7%, 64.7%)
CIE-LABlab(33.11, -33.90, 23.22)
CIE-LCHlch(33.11, 41.09, 145.60°)
OKLaboklab(41.2% -0.0912 0.0559)
OKLCHoklch(41.2% 0.107 148.5)
XYZxyz(4.2715, 7.5869, 3.1584)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A27 #5A1245
analogous
#215A12 #125A27 #125A4B
triadic
#125A27 #27125A #5A2712
tetradic
#125A27 #12215A #5A1245 #5A4B12
square
#125A27 #12215A #5A1245 #5A4B12
split-complementary
#125A27 #4B125A #5A1221
monochromatic
#051A0B #082711 #125A27 #1C8D3D #26C053

Accessibility & contrast

On white

8.34
#125A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A27
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A27#FFFFFF#000000##FFFFFF
##125A271.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5123
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a27;
/* rgb */ color: rgb(18, 90, 39);
/* oklch */ color: oklch(41.2% 0.107 148.5);
Tailwind
colors: {
  custom: {
    50: '#5d8962',
    500: '#125a27',
    950: '#000000',
  },
}
SCSS
$custom: #125a27;
$custom-light: #5d8962;
$custom-dark: #000000;
JSON
{
  "hex": "#125a27",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 39
  },
  "hsl": {
    "h": 137.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.10696,
    "h": 148.5
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125A27

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

Preview Lab → · Contrast checker → · Palette generator →

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