#125F20#125F20

#125F20 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.120 H 145.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#125F20
RGBrgb(18, 95, 32)
HSLhsl(131, 68%, 22%)
HSVhsv(131, 81%, 37%)
CMYKcmyk(81.1%, 0%, 66.3%, 62.7%)
CIE-LABlab(34.84, -36.88, 28.98)
CIE-LCHlch(34.84, 46.91, 141.84°)
OKLaboklab(42.6% -0.0994 0.0679)
OKLCHoklch(42.6% 0.12 145.7)
XYZxyz(4.6020, 8.4168, 2.7483)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F20 #5F1251
analogous
#2B5F12 #125F20 #125F47
triadic
#125F20 #20125F #5F2012
tetradic
#125F20 #122B5F #5F1251 #5F4712
square
#125F20 #122B5F #5F1251 #5F4712
split-complementary
#125F20 #47125F #5F122B
monochromatic
#051A09 #082C0F #125F20 #1C9231 #25C643

Accessibility & contrast

On white

7.83
#125F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F20
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F20#FFFFFF#000000##FFFFFF
##125F201.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f20;
/* rgb */ color: rgb(18, 95, 32);
/* oklch */ color: oklch(42.6% 0.120 145.7);
Tailwind
colors: {
  custom: {
    50: '#5f8d5e',
    500: '#125f20',
    950: '#000000',
  },
}
SCSS
$custom: #125f20;
$custom-light: #5f8d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#125f20",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 130.909,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.12041,
    "h": 145.7
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#125F20
secondary
#973685
accent
#3DCBEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125F20

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

Preview Lab → · Contrast checker → · Palette generator →

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