#125831#125831

#125831 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.094 H 153.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#125831
RGBrgb(18, 88, 49)
HSLhsl(147, 66%, 21%)
HSVhsv(147, 80%, 35%)
CMYKcmyk(79.5%, 0%, 44.3%, 65.5%)
CIE-LABlab(32.55, -31.18, 16.70)
CIE-LCHlch(32.55, 35.37, 151.83°)
OKLaboklab(40.79% -0.084 0.0415)
OKLCHoklch(40.79% 0.094 153.7)
XYZxyz(4.2932, 7.3293, 4.0936)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125831 #581239
analogous
#165812 #125831 #125854
triadic
#125831 #311258 #583112
tetradic
#125831 #121658 #581239 #585412
square
#125831 #121658 #581239 #585412
split-complementary
#125831 #541258 #581216
monochromatic
#05190E #082515 #125831 #1C8B4D #27BE6A

Accessibility & contrast

On white

8.52
#125831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125831
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125831#FFFFFF#000000##FFFFFF
##1258311.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502E
Deuteranopia (green-blind)
#504A34
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125831;
/* rgb */ color: rgb(18, 88, 49);
/* oklch */ color: oklch(40.8% 0.094 153.7);
Tailwind
colors: {
  custom: {
    50: '#5c8869',
    500: '#125831',
    950: '#000000',
  },
}
SCSS
$custom: #125831;
$custom-light: #5c8869;
$custom-dark: #000000;
JSON
{
  "hex": "#125831",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 49
  },
  "hsl": {
    "h": 146.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.0937,
    "h": 153.7
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#125831
secondary
#913568
accent
#3F9EE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125831

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

Preview Lab → · Contrast checker → · Palette generator →

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