#125C23#125C23

#125C23 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.114 H 146.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#125C23
RGBrgb(18, 92, 35)
HSLhsl(134, 67%, 22%)
HSVhsv(134, 80%, 36%)
CMYKcmyk(80.4%, 0%, 62%, 63.9%)
CIE-LABlab(33.78, -35.32, 26.21)
CIE-LCHlch(33.78, 43.98, 143.42°)
OKLaboklab(41.74% -0.0951 0.0622)
OKLCHoklch(41.74% 0.114 146.8)
XYZxyz(4.3796, 7.9037, 2.8845)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C23 #5C124B
analogous
#265C12 #125C23 #125C48
triadic
#125C23 #23125C #5C2312
tetradic
#125C23 #12265C #5C124B #5C4812
square
#125C23 #12265C #5C124B #5C4812
split-complementary
#125C23 #48125C #5C1226
monochromatic
#051A0A #082910 #125C23 #1C8F36 #26C24A

Accessibility & contrast

On white

8.14
#125C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125C23
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C23#FFFFFF#000000##FFFFFF
##125C231.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125c23;
/* rgb */ color: rgb(18, 92, 35);
/* oklch */ color: oklch(41.7% 0.114 146.8);
Tailwind
colors: {
  custom: {
    50: '#5e8b60',
    500: '#125c23',
    950: '#000000',
  },
}
SCSS
$custom: #125c23;
$custom-light: #5e8b60;
$custom-dark: #000000;
JSON
{
  "hex": "#125c23",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 35
  },
  "hsl": {
    "h": 133.784,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.11363,
    "h": 146.8
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#125C23
secondary
#94357F
accent
#3EC3EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125C23

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

Preview Lab → · Contrast checker → · Palette generator →

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