#125D23#125D23

#125D23 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.115 H 146.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#125D23
RGBrgb(18, 93, 35)
HSLhsl(134, 68%, 22%)
HSVhsv(134, 81%, 36%)
CMYKcmyk(80.6%, 0%, 62.4%, 63.5%)
CIE-LABlab(34.15, -35.71, 26.64)
CIE-LCHlch(34.15, 44.55, 143.28°)
OKLaboklab(42.04% -0.0961 0.0631)
OKLCHoklch(42.04% 0.115 146.7)
XYZxyz(4.4668, 8.0781, 2.9136)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D23 #5D124C
analogous
#275D12 #125D23 #125D49
triadic
#125D23 #23125D #5D2312
tetradic
#125D23 #12275D #5D124C #5D4912
square
#125D23 #12275D #5D124C #5D4912
split-complementary
#125D23 #49125D #5D1227
monochromatic
#051A0A #082A10 #125D23 #1C9036 #26C44A

Accessibility & contrast

On white

8.03
#125D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D23
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D23#FFFFFF#000000##FFFFFF
##125D231.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541D
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d23;
/* rgb */ color: rgb(18, 93, 35);
/* oklch */ color: oklch(42.0% 0.115 146.7);
Tailwind
colors: {
  custom: {
    50: '#5e8c60',
    500: '#125d23',
    950: '#000000',
  },
}
SCSS
$custom: #125d23;
$custom-light: #5e8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#125d23",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 35
  },
  "hsl": {
    "h": 133.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42041,
    "c": 0.11501,
    "h": 146.7
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#125D23
secondary
#953580
accent
#3DC3EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125D23

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

Preview Lab → · Contrast checker → · Palette generator →

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