#31902E#31902E

#31902E is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.162 H 142.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#31902E
RGBrgb(49, 144, 46)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 68%, 56%)
CMYKcmyk(66%, 0%, 68.1%, 43.5%)
CIE-LABlab(52.73, -47.27, 42.47)
CIE-LCHlch(52.73, 63.55, 138.06°)
OKLaboklab(57.68% -0.1285 0.0979)
OKLCHoklch(57.68% 0.162 142.7)
XYZxyz(11.7324, 20.7956, 5.9799)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31902E #8D2E90
analogous
#62902E #31902E #2E905C
triadic
#31902E #2E3190 #902E31
tetradic
#31902E #2E6290 #8D2E90 #905C2E
square
#31902E #2E6290 #8D2E90 #905C2E
split-complementary
#31902E #5C2E90 #902E62
monochromatic
#113310 #21621F #31902E #41BE3D #6CCF69

Accessibility & contrast

On white

4.07
#31902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#31902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31902E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31902E#FFFFFF#000000##000000
##31902E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938321
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#1D8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31902e;
/* rgb */ color: rgb(49, 144, 46);
/* oklch */ color: oklch(57.7% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#76b16c',
    500: '#31902e',
    950: '#000000',
  },
}
SCSS
$custom: #31902e;
$custom-light: #76b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#31902e",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 118.163,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.1616,
    "h": 142.7
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

primary
#31902E
secondary
#B464B6
accent
#4DDBD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #31902E

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

Preview Lab → · Contrast checker → · Palette generator →

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