#31985C#31985C

#31985C is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.6% C 0.131 H 153.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#31985C
RGBrgb(49, 152, 92)
HSLhsl(145, 51%, 39%)
HSVhsv(145, 68%, 60%)
CMYKcmyk(67.8%, 0%, 39.5%, 40.4%)
CIE-LABlab(55.97, -43.50, 23.20)
CIE-LCHlch(55.97, 49.30, 151.92°)
OKLaboklab(60.55% -0.1176 0.0579)
OKLCHoklch(60.55% 0.131 153.8)
XYZxyz(14.4254, 23.8806, 13.9723)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31985C #98316D
analogous
#399831 #31985C #319890
triadic
#31985C #5C3198 #985C31
tetradic
#31985C #313998 #98316D #989031
square
#31985C #313998 #98316D #989031
split-complementary
#31985C #903198 #983139
monochromatic
#133B24 #226A40 #31985C #44C379 #72D29A

Accessibility & contrast

On white

3.64
#31985C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#31985C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31985C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31985C#FFFFFF#000000##000000
##31985C1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C58
Deuteranopia (green-blind)
#8B8260
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31985c;
/* rgb */ color: rgb(49, 152, 92);
/* oklch */ color: oklch(60.6% 0.131 153.8);
Tailwind
colors: {
  custom: {
    50: '#76b78a',
    500: '#31985c',
    950: '#000000',
  },
}
SCSS
$custom: #31985c;
$custom-light: #76b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#31985c",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 145.049,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.13105,
    "h": 153.8
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#31985C
secondary
#B96B99
accent
#4DA0DB
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #31985C

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

Preview Lab → · Contrast checker → · Palette generator →

#31985C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva