#125731#125731

#125731 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.092 H 154.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#125731
RGBrgb(18, 87, 49)
HSLhsl(147, 66%, 21%)
HSVhsv(147, 79%, 34%)
CMYKcmyk(79.3%, 0%, 43.7%, 65.9%)
CIE-LABlab(32.18, -30.75, 16.22)
CIE-LCHlch(32.18, 34.77, 152.19°)
OKLaboklab(40.49% -0.0829 0.0403)
OKLCHoklch(40.49% 0.092 154.1)
XYZxyz(4.2116, 7.1663, 4.0664)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125731 #571238
analogous
#155712 #125731 #125753
triadic
#125731 #311257 #573112
tetradic
#125731 #121557 #571238 #575312
square
#125731 #121557 #571238 #575312
split-complementary
#125731 #531257 #571215
monochromatic
#05190E #082414 #125731 #1C8A4E #27BC6A

Accessibility & contrast

On white

8.63
#125731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#125731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125731
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125731#FFFFFF#000000##FFFFFF
##1257311.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2E
Deuteranopia (green-blind)
#4F4934
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125731;
/* rgb */ color: rgb(18, 87, 49);
/* oklch */ color: oklch(40.5% 0.092 154.1);
Tailwind
colors: {
  custom: {
    50: '#5c8769',
    500: '#125731',
    950: '#000000',
  },
}
SCSS
$custom: #125731;
$custom-light: #5c8769;
$custom-dark: #000000;
JSON
{
  "hex": "#125731",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 49
  },
  "hsl": {
    "h": 146.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.09219,
    "h": 154.1
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#125731
secondary
#903567
accent
#3F9CE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125731

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

Preview Lab → · Contrast checker → · Palette generator →

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