#125023#125023

#125023 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.096 H 148.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#125023
RGBrgb(18, 80, 35)
HSLhsl(136, 63%, 19%)
HSVhsv(136, 78%, 31%)
CMYKcmyk(77.5%, 0%, 56.3%, 68.6%)
CIE-LABlab(29.38, -30.51, 20.91)
CIE-LCHlch(29.38, 36.99, 145.58°)
OKLaboklab(38.1% -0.0821 0.0505)
OKLCHoklch(38.1% 0.096 148.4)
XYZxyz(3.4212, 5.9869, 2.5651)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125023 #50123F
analogous
#205012 #125023 #125042
triadic
#125023 #231250 #502312
tetradic
#125023 #122050 #50123F #504212
square
#125023 #122050 #50123F #504212
split-complementary
#125023 #421250 #501220
monochromatic
#06190B #071E0D #125023 #1D8239 #28B44F

Accessibility & contrast

On white

9.56
#125023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#125023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125023
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125023#FFFFFF#000000##FFFFFF
##1250231.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481F
Deuteranopia (green-blind)
#494326
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125023;
/* rgb */ color: rgb(18, 80, 35);
/* oklch */ color: oklch(38.1% 0.096 148.4);
Tailwind
colors: {
  custom: {
    50: '#5a825f',
    500: '#125023',
    950: '#000000',
  },
}
SCSS
$custom: #125023;
$custom-light: #5a825f;
$custom-dark: #000000;
JSON
{
  "hex": "#125023",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 35
  },
  "hsl": {
    "h": 136.452,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38096,
    "c": 0.09644,
    "h": 148.4
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#125023
secondary
#893572
accent
#41B9E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #125023

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

Preview Lab → · Contrast checker → · Palette generator →

#125023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva