#125C24#125C24

#125C24 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 147.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#125C24
RGBrgb(18, 92, 36)
HSLhsl(135, 67%, 22%)
HSVhsv(135, 80%, 36%)
CMYKcmyk(80.4%, 0%, 60.9%, 63.9%)
CIE-LABlab(33.79, -35.17, 25.69)
CIE-LCHlch(33.79, 43.55, 143.85°)
OKLaboklab(41.75% -0.0947 0.0612)
OKLCHoklch(41.75% 0.113 147.1)
XYZxyz(4.3947, 7.9098, 2.9638)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C24 #5C124A
analogous
#255C12 #125C24 #125C49
triadic
#125C24 #24125C #5C2412
tetradic
#125C24 #12255C #5C124A #5C4912
square
#125C24 #12255C #5C124A #5C4912
split-complementary
#125C24 #49125C #5C1225
monochromatic
#051A0A #082910 #125C24 #1C8F38 #26C24C

Accessibility & contrast

On white

8.13
#125C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C24
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C24#FFFFFF#000000##FFFFFF
##125C241.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D531F
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c24;
/* rgb */ color: rgb(18, 92, 36);
/* oklch */ color: oklch(41.8% 0.113 147.1);
Tailwind
colors: {
  custom: {
    50: '#5e8b60',
    500: '#125c24',
    950: '#000000',
  },
}
SCSS
$custom: #125c24;
$custom-light: #5e8b60;
$custom-dark: #000000;
JSON
{
  "hex": "#125c24",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 36
  },
  "hsl": {
    "h": 134.595,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.11269,
    "h": 147.1
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#125C24
secondary
#94357D
accent
#3EC0EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125C24

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

Preview Lab → · Contrast checker → · Palette generator →

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