#31902F#31902F

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

Color values

HEX#31902F
RGBrgb(49, 144, 47)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 67%, 56%)
CMYKcmyk(66%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.73, -47.17, 42.04)
CIE-LCHlch(52.73, 63.19, 138.29°)
OKLaboklab(57.69% -0.1282 0.0972)
OKLCHoklch(57.69% 0.161 142.8)
XYZxyz(11.7523, 20.8035, 6.0849)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31902F #8E2F90
analogous
#61902F #31902F #2F905E
triadic
#31902F #2F3190 #902F31
tetradic
#31902F #2F6190 #8E2F90 #905E2F
square
#31902F #2F6190 #8E2F90 #905E2F
split-complementary
#31902F #5E2F90 #902F61
monochromatic
#123411 #216220 #31902F #41BE3E #6DCF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31902F#FFFFFF#000000##000000
##31902F1.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)
#938322
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#1D8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31902f;
/* rgb */ color: rgb(49, 144, 47);
/* oklch */ color: oklch(57.7% 0.161 142.8);
Tailwind
colors: {
  custom: {
    50: '#76b16c',
    500: '#31902f',
    950: '#000000',
  },
}
SCSS
$custom: #31902f;
$custom-light: #76b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#31902f",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 118.763,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.16086,
    "h": 142.8
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#31902F
secondary
#B465B6
accent
#4EDAD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #31902F

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

Preview Lab → · Contrast checker → · Palette generator →

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