#125E23#125E23

#125E23 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.3% C 0.116 H 146.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#125E23
RGBrgb(18, 94, 35)
HSLhsl(133, 68%, 22%)
HSVhsv(133, 81%, 37%)
CMYKcmyk(80.9%, 0%, 62.8%, 63.1%)
CIE-LABlab(34.51, -36.09, 27.06)
CIE-LCHlch(34.51, 45.11, 143.14°)
OKLaboklab(42.34% -0.0972 0.0641)
OKLCHoklch(42.34% 0.116 146.6)
XYZxyz(4.5552, 8.2548, 2.9431)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E23 #5E124D
analogous
#275E12 #125E23 #125E49
triadic
#125E23 #23125E #5E2312
tetradic
#125E23 #12275E #5E124D #5E4912
square
#125E23 #12275E #5E124D #5E4912
split-complementary
#125E23 #49125E #5E1227
monochromatic
#051A0A #082B10 #125E23 #1C9136 #26C549

Accessibility & contrast

On white

7.92
#125E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E23
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E23#FFFFFF#000000##FFFFFF
##125E231.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e23;
/* rgb */ color: rgb(18, 94, 35);
/* oklch */ color: oklch(42.3% 0.116 146.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c60',
    500: '#125e23',
    950: '#000000',
  },
}
SCSS
$custom: #125e23;
$custom-light: #5e8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#125e23",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 35
  },
  "hsl": {
    "h": 133.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.11639,
    "h": 146.6
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#125E23
secondary
#963581
accent
#3DC4EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125E23

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

Preview Lab → · Contrast checker → · Palette generator →

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