#31904E#31904E

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

Color values

HEX#31904E
RGBrgb(49, 144, 78)
HSLhsl(138, 49%, 38%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(66%, 0%, 45.8%, 43.5%)
CIE-LABlab(53.11, -42.85, 27.08)
CIE-LCHlch(53.11, 50.69, 147.71°)
OKLaboklab(58.12% -0.1156 0.0665)
OKLCHoklch(58.12% 0.133 150.1)
XYZxyz(12.6141, 21.1482, 10.6235)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31904E #903173
analogous
#439031 #31904E #31907D
triadic
#31904E #4E3190 #904E31
tetradic
#31904E #314390 #903173 #907D31
square
#31904E #314390 #903173 #907D31
split-complementary
#31904E #7D3190 #903143
monochromatic
#12351D #216235 #31904E #41BE67 #6ECE8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31904E#FFFFFF#000000##000000
##31904E1.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)
#918449
Deuteranopia (green-blind)
#857B52
Tritanopia (blue-blind)
#0C8E80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31904e;
/* rgb */ color: rgb(49, 144, 78);
/* oklch */ color: oklch(58.1% 0.133 150.1);
Tailwind
colors: {
  custom: {
    50: '#74b180',
    500: '#31904e',
    950: '#000000',
  },
}
SCSS
$custom: #31904e;
$custom-light: #74b180;
$custom-dark: #000000;
JSON
{
  "hex": "#31904e",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 78
  },
  "hsl": {
    "h": 138.316,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.13341,
    "h": 150.1
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31904E

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

Preview Lab → · Contrast checker → · Palette generator →

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