#31905A#31905A

#31905A is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.4% C 0.122 H 154.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#31905A
RGBrgb(49, 144, 90)
HSLhsl(146, 49%, 38%)
HSVhsv(146, 66%, 56%)
CMYKcmyk(66%, 0%, 37.5%, 43.5%)
CIE-LABlab(53.32, -40.60, 20.78)
CIE-LCHlch(53.32, 45.61, 152.90°)
OKLaboklab(58.36% -0.1099 0.0521)
OKLCHoklch(58.36% 0.122 154.7)
XYZxyz(13.0842, 21.3363, 13.0997)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31905A #903167
analogous
#379031 #31905A #31908A
triadic
#31905A #5A3190 #905A31
tetradic
#31905A #313790 #903167 #908A31
square
#31905A #313790 #903167 #908A31
split-complementary
#31905A #8A3190 #903137
monochromatic
#123521 #21623D #31905A #41BE77 #6ECE97

Accessibility & contrast

On white

3.99
#31905A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#31905A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31905A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31905A#FFFFFF#000000##000000
##31905A1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908556
Deuteranopia (green-blind)
#837C5D
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31905a;
/* rgb */ color: rgb(49, 144, 90);
/* oklch */ color: oklch(58.4% 0.122 154.7);
Tailwind
colors: {
  custom: {
    50: '#74b189',
    500: '#31905a',
    950: '#000000',
  },
}
SCSS
$custom: #31905a;
$custom-light: #74b189;
$custom-dark: #000000;
JSON
{
  "hex": "#31905a",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 90
  },
  "hsl": {
    "h": 145.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.12165,
    "h": 154.7
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#31905A
secondary
#B56894
accent
#4F9DD9
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #31905A

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

Preview Lab → · Contrast checker → · Palette generator →

#31905A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva