#125229#125229

#125229 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.093 H 150.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#125229
RGBrgb(18, 82, 41)
HSLhsl(142, 64%, 20%)
HSVhsv(142, 78%, 32%)
CMYKcmyk(78%, 0%, 50%, 67.8%)
CIE-LABlab(30.21, -30.25, 18.45)
CIE-LCHlch(30.21, 35.43, 148.62°)
OKLaboklab(38.82% -0.0814 0.0453)
OKLCHoklch(38.82% 0.093 150.9)
XYZxyz(3.6667, 6.3229, 3.1246)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125229 #52123B
analogous
#1B5212 #125229 #125249
triadic
#125229 #291252 #522912
tetradic
#125229 #121B52 #52123B #524912
square
#125229 #121B52 #52123B #524912
split-complementary
#125229 #491252 #52121B
monochromatic
#06190D #072010 #125229 #1D8442 #28B65B

Accessibility & contrast

On white

9.27
#125229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#125229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125229
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125229#FFFFFF#000000##FFFFFF
##1252291.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125229;
/* rgb */ color: rgb(18, 82, 41);
/* oklch */ color: oklch(38.8% 0.093 150.9);
Tailwind
colors: {
  custom: {
    50: '#5b8363',
    500: '#125229',
    950: '#000000',
  },
}
SCSS
$custom: #125229;
$custom-light: #5b8363;
$custom-dark: #000000;
JSON
{
  "hex": "#125229",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 141.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.09315,
    "h": 150.9
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#125229
secondary
#8B356C
accent
#41ABE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125229

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

Preview Lab → · Contrast checker → · Palette generator →

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