#125029#125029

#125029 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.090 H 151.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#125029
RGBrgb(18, 80, 41)
HSLhsl(142, 63%, 19%)
HSVhsv(142, 78%, 31%)
CMYKcmyk(77.5%, 0%, 48.8%, 68.6%)
CIE-LABlab(29.48, -29.39, 17.50)
CIE-LCHlch(29.48, 34.21, 149.22°)
OKLaboklab(38.21% -0.0791 0.0431)
OKLCHoklch(38.21% 0.09 151.4)
XYZxyz(3.5181, 6.0256, 3.0750)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125029 #501239
analogous
#1A5012 #125029 #125048
triadic
#125029 #291250 #502912
tetradic
#125029 #121A50 #501239 #504812
square
#125029 #121A50 #501239 #504812
split-complementary
#125029 #481250 #50121A
monochromatic
#06190D #071E0F #125029 #1D8243 #28B45C

Accessibility & contrast

On white

9.52
#125029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#125029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125029
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125029#FFFFFF#000000##FFFFFF
##1250291.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#49432C
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125029;
/* rgb */ color: rgb(18, 80, 41);
/* oklch */ color: oklch(38.2% 0.090 151.4);
Tailwind
colors: {
  custom: {
    50: '#5a8263',
    500: '#125029',
    950: '#000000',
  },
}
SCSS
$custom: #125029;
$custom-light: #5a8263;
$custom-dark: #000000;
JSON
{
  "hex": "#125029",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 41
  },
  "hsl": {
    "h": 142.258,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.09011,
    "h": 151.4
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#125029
secondary
#89356A
accent
#41A9E6
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125029

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

Preview Lab → · Contrast checker → · Palette generator →

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