#125B23#125B23

#125B23 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.112 H 146.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#125B23
RGBrgb(18, 91, 35)
HSLhsl(134, 67%, 21%)
HSVhsv(134, 80%, 36%)
CMYKcmyk(80.2%, 0%, 61.5%, 64.3%)
CIE-LABlab(33.42, -34.93, 25.78)
CIE-LCHlch(33.42, 43.42, 143.57°)
OKLaboklab(41.44% -0.094 0.0613)
OKLCHoklch(41.44% 0.112 146.9)
XYZxyz(4.2936, 7.7316, 2.8559)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B23 #5B124A
analogous
#265B12 #125B23 #125B48
triadic
#125B23 #23125B #5B2312
tetradic
#125B23 #12265B #5B124A #5B4812
square
#125B23 #12265B #5B124A #5B4812
split-complementary
#125B23 #48125B #5B1226
monochromatic
#051A0A #08280F #125B23 #1C8E37 #26C14A

Accessibility & contrast

On white

8.25
#125B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B23
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B23#FFFFFF#000000##FFFFFF
##125B231.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125b23;
/* rgb */ color: rgb(18, 91, 35);
/* oklch */ color: oklch(41.4% 0.112 146.9);
Tailwind
colors: {
  custom: {
    50: '#5d8a60',
    500: '#125b23',
    950: '#000000',
  },
}
SCSS
$custom: #125b23;
$custom-light: #5d8a60;
$custom-dark: #000000;
JSON
{
  "hex": "#125b23",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 35
  },
  "hsl": {
    "h": 133.973,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.11224,
    "h": 146.9
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#125B23
secondary
#93357E
accent
#3EC2EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125B23

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

Preview Lab → · Contrast checker → · Palette generator →

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