#125F32#125F32

#125F32 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.103 H 152.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#125F32
RGBrgb(18, 95, 50)
HSLhsl(145, 68%, 22%)
HSVhsv(145, 81%, 37%)
CMYKcmyk(81.1%, 0%, 47.4%, 62.7%)
CIE-LABlab(35.09, -33.91, 19.42)
CIE-LCHlch(35.09, 39.07, 150.20°)
OKLaboklab(42.89% -0.0912 0.0478)
OKLCHoklch(42.89% 0.103 152.3)
XYZxyz(4.9169, 8.5427, 4.4068)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F32 #5F123F
analogous
#195F12 #125F32 #125F59
triadic
#125F32 #32125F #5F3212
tetradic
#125F32 #12195F #5F123F #5F5912
square
#125F32 #12195F #5F123F #5F5912
split-complementary
#125F32 #59125F #5F1219
monochromatic
#051A0E #082C17 #125F32 #1C924D #25C668

Accessibility & contrast

On white

7.75
#125F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F32
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F32#FFFFFF#000000##FFFFFF
##125F321.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f32;
/* rgb */ color: rgb(18, 95, 50);
/* oklch */ color: oklch(42.9% 0.103 152.3);
Tailwind
colors: {
  custom: {
    50: '#5e8d6a',
    500: '#125f32',
    950: '#000000',
  },
}
SCSS
$custom: #125f32;
$custom-light: #5e8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#125f32",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 50
  },
  "hsl": {
    "h": 144.935,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.10298,
    "h": 152.3
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#125F32
secondary
#97366F
accent
#3DA3EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125F32

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

Preview Lab → · Contrast checker → · Palette generator →

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