#125F24#125F24

#125F24 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.117 H 146.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#125F24
RGBrgb(18, 95, 36)
HSLhsl(134, 68%, 22%)
HSVhsv(134, 81%, 37%)
CMYKcmyk(81.1%, 0%, 62.1%, 62.7%)
CIE-LABlab(34.88, -36.32, 26.97)
CIE-LCHlch(34.88, 45.24, 143.40°)
OKLaboklab(42.66% -0.0978 0.0639)
OKLCHoklch(42.66% 0.117 146.8)
XYZxyz(4.6598, 8.4398, 3.0522)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F24 #5F124D
analogous
#275F12 #125F24 #125F4B
triadic
#125F24 #24125F #5F2412
tetradic
#125F24 #12275F #5F124D #5F4B12
square
#125F24 #12275F #5F124D #5F4B12
split-complementary
#125F24 #4B125F #5F1227
monochromatic
#051A0A #082C11 #125F24 #1C9237 #25C64B

Accessibility & contrast

On white

7.81
#125F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F24
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F24#FFFFFF#000000##FFFFFF
##125F241.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561E
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f24;
/* rgb */ color: rgb(18, 95, 36);
/* oklch */ color: oklch(42.7% 0.117 146.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d61',
    500: '#125f24',
    950: '#000000',
  },
}
SCSS
$custom: #125f24;
$custom-light: #5e8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#125f24",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 36
  },
  "hsl": {
    "h": 134.026,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.11683,
    "h": 146.8
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#125F24
secondary
#973680
accent
#3DC2EB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125F24

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

Preview Lab → · Contrast checker → · Palette generator →

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