#125231#125231

#125231 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.085 H 155.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#125231
RGBrgb(18, 82, 49)
HSLhsl(149, 64%, 20%)
HSVhsv(149, 78%, 32%)
CMYKcmyk(78%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.36, -28.56, 13.81)
CIE-LCHlch(30.36, 31.72, 154.20°)
OKLaboklab(38.99% -0.0772 0.0346)
OKLCHoklch(38.99% 0.085 155.9)
XYZxyz(3.8208, 6.3845, 3.9361)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125231 #521233
analogous
#135212 #125231 #125251
triadic
#125231 #311252 #523112
tetradic
#125231 #121352 #521233 #525112
square
#125231 #121352 #521233 #525112
split-complementary
#125231 #511252 #521213
monochromatic
#06190F #072013 #125231 #1D844F #28B66D

Accessibility & contrast

On white

9.22
#125231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125231
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125231#FFFFFF#000000##FFFFFF
##1252311.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4533
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125231;
/* rgb */ color: rgb(18, 82, 49);
/* oklch */ color: oklch(39.0% 0.085 155.9);
Tailwind
colors: {
  custom: {
    50: '#5a8369',
    500: '#125231',
    950: '#000000',
  },
}
SCSS
$custom: #125231;
$custom-light: #5a8369;
$custom-dark: #000000;
JSON
{
  "hex": "#125231",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 149.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.08461,
    "h": 155.9
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#125231
secondary
#8B3561
accent
#4196E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125231

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

Preview Lab → · Contrast checker → · Palette generator →

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