#125B24#125B24

#125B24 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.111 H 147.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#125B24
RGBrgb(18, 91, 36)
HSLhsl(135, 67%, 21%)
HSVhsv(135, 80%, 36%)
CMYKcmyk(80.2%, 0%, 60.4%, 64.3%)
CIE-LABlab(33.43, -34.78, 25.26)
CIE-LCHlch(33.43, 42.98, 144.01°)
OKLaboklab(41.45% -0.0936 0.0602)
OKLCHoklch(41.45% 0.111 147.3)
XYZxyz(4.3087, 7.7376, 2.9352)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B24 #5B1249
analogous
#255B12 #125B24 #125B49
triadic
#125B24 #24125B #5B2412
tetradic
#125B24 #12255B #5B1249 #5B4912
square
#125B24 #12255B #5B1249 #5B4912
split-complementary
#125B24 #49125B #5B1225
monochromatic
#051A0A #082810 #125B24 #1C8E38 #26C14C

Accessibility & contrast

On white

8.24
#125B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B24
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B24#FFFFFF#000000##FFFFFF
##125B241.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521F
Deuteranopia (green-blind)
#544C28
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b24;
/* rgb */ color: rgb(18, 91, 36);
/* oklch */ color: oklch(41.5% 0.111 147.3);
Tailwind
colors: {
  custom: {
    50: '#5d8a60',
    500: '#125b24',
    950: '#000000',
  },
}
SCSS
$custom: #125b24;
$custom-light: #5d8a60;
$custom-dark: #000000;
JSON
{
  "hex": "#125b24",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 36
  },
  "hsl": {
    "h": 134.795,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.1113,
    "h": 147.3
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#125B24
secondary
#93357C
accent
#3EBFEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125B24

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

Preview Lab → · Contrast checker → · Palette generator →

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