#31954E#31954E

#31954E is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.5% C 0.140 H 149.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#31954E
RGBrgb(49, 149, 78)
HSLhsl(137, 51%, 39%)
HSVhsv(137, 67%, 58%)
CMYKcmyk(67.1%, 0%, 47.7%, 41.6%)
CIE-LABlab(54.76, -44.84, 29.18)
CIE-LCHlch(54.76, 53.50, 146.94°)
OKLaboklab(59.48% -0.1209 0.0714)
OKLCHoklch(59.48% 0.14 149.5)
XYZxyz(13.3882, 22.6965, 10.8816)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31954E #953178
analogous
#469531 #31954E #319580
triadic
#31954E #4E3195 #954E31
tetradic
#31954E #314695 #953178 #958031
square
#31954E #314695 #953178 #958031
split-complementary
#31954E #803195 #953146
monochromatic
#13391E #226736 #31954E #42C167 #70D08C

Accessibility & contrast

On white

3.79
#31954E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#31954E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31954E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31954E#FFFFFF#000000##000000
##31954E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#069284
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31954e;
/* rgb */ color: rgb(49, 149, 78);
/* oklch */ color: oklch(59.5% 0.140 149.5);
Tailwind
colors: {
  custom: {
    50: '#75b581',
    500: '#31954e',
    950: '#000000',
  },
}
SCSS
$custom: #31954e;
$custom-light: #75b581;
$custom-dark: #000000;
JSON
{
  "hex": "#31954e",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 78
  },
  "hsl": {
    "h": 137.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.1404,
    "h": 149.5
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#31954E
secondary
#B86AA1
accent
#4EB1DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31954E

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

Preview Lab → · Contrast checker → · Palette generator →

#31954E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva