#31904D#31904D

#31904D is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.134 H 149.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#31904D
RGBrgb(49, 144, 77)
HSLhsl(138, 49%, 38%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(66%, 0%, 46.5%, 43.5%)
CIE-LABlab(53.10, -43.03, 27.60)
CIE-LCHlch(53.10, 51.12, 147.32°)
OKLaboklab(58.11% -0.1161 0.0677)
OKLCHoklch(58.11% 0.134 149.8)
XYZxyz(12.5785, 21.1340, 10.4361)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31904D #903174
analogous
#449031 #31904D #31907C
triadic
#31904D #4D3190 #904D31
tetradic
#31904D #314490 #903174 #907C31
square
#31904D #314490 #903174 #907C31
split-complementary
#31904D #7C3190 #903144
monochromatic
#12351C #216235 #31904D #41BE65 #6ECE8A

Accessibility & contrast

On white

4.02
#31904D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#31904D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31904D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31904D#FFFFFF#000000##000000
##31904D1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918448
Deuteranopia (green-blind)
#857B52
Tritanopia (blue-blind)
#0D8D80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31904d;
/* rgb */ color: rgb(49, 144, 77);
/* oklch */ color: oklch(58.1% 0.134 149.8);
Tailwind
colors: {
  custom: {
    50: '#74b180',
    500: '#31904d',
    950: '#000000',
  },
}
SCSS
$custom: #31904d;
$custom-light: #74b180;
$custom-dark: #000000;
JSON
{
  "hex": "#31904d",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 77
  },
  "hsl": {
    "h": 137.684,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.13439,
    "h": 149.8
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#31904D
secondary
#B5689E
accent
#4FB0D9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #31904D

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

Preview Lab → · Contrast checker → · Palette generator →

#31904D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva