#125A23#125A23

#125A23 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.111 H 147.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#125A23
RGBrgb(18, 90, 35)
HSLhsl(134, 67%, 21%)
HSVhsv(134, 80%, 35%)
CMYKcmyk(80%, 0%, 61.1%, 64.7%)
CIE-LABlab(33.05, -34.54, 25.35)
CIE-LCHlch(33.05, 42.85, 143.73°)
OKLaboklab(41.14% -0.093 0.0603)
OKLCHoklch(41.14% 0.111 147)
XYZxyz(4.2087, 7.5618, 2.8275)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A23 #5A1249
analogous
#255A12 #125A23 #125A47
triadic
#125A23 #23125A #5A2312
tetradic
#125A23 #12255A #5A1249 #5A4712
square
#125A23 #12255A #5A1249 #5A4712
split-complementary
#125A23 #47125A #5A1225
monochromatic
#051A0A #08270F #125A23 #1C8D37 #26C04B

Accessibility & contrast

On white

8.36
#125A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A23
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A23#FFFFFF#000000##FFFFFF
##125A231.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a23;
/* rgb */ color: rgb(18, 90, 35);
/* oklch */ color: oklch(41.1% 0.111 147.0);
Tailwind
colors: {
  custom: {
    50: '#5d8960',
    500: '#125a23',
    950: '#000000',
  },
}
SCSS
$custom: #125a23;
$custom-light: #5d8960;
$custom-dark: #000000;
JSON
{
  "hex": "#125a23",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 35
  },
  "hsl": {
    "h": 134.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.11085,
    "h": 147
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#125A23
secondary
#93357D
accent
#3EC1EA
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125A23

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

Preview Lab → · Contrast checker → · Palette generator →

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