#31902A#31902A

#31902A is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.164 H 142.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#31902A
RGBrgb(49, 144, 42)
HSLhsl(116, 55%, 36%)
HSVhsv(116, 71%, 56%)
CMYKcmyk(66%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.69, -47.66, 44.13)
CIE-LCHlch(52.69, 64.96, 137.21°)
OKLaboklab(57.64% -0.1298 0.1009)
OKLCHoklch(57.64% 0.164 142.1)
XYZxyz(11.6572, 20.7655, 5.5839)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31902A #892A90
analogous
#64902A #31902A #2A9056
triadic
#31902A #2A3190 #902A31
tetradic
#31902A #2A6490 #892A90 #90562A
square
#31902A #2A6490 #892A90 #90562A
split-complementary
#31902A #562A90 #902A64
monochromatic
#11310E #21611C #31902A #41BF38 #6BD163

Accessibility & contrast

On white

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

On black

5.15
#31902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31902A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31902A#FFFFFF#000000##000000
##31902A1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831B
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#1E8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31902a;
/* rgb */ color: rgb(49, 144, 42);
/* oklch */ color: oklch(57.6% 0.164 142.1);
Tailwind
colors: {
  custom: {
    50: '#76b169',
    500: '#31902a',
    950: '#000000',
  },
}
SCSS
$custom: #31902a;
$custom-light: #76b169;
$custom-dark: #000000;
JSON
{
  "hex": "#31902a",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 115.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57641,
    "c": 0.16444,
    "h": 142.1
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#31902A
secondary
#B15EB7
accent
#4ADED4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #31902A

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

Preview Lab → · Contrast checker → · Palette generator →

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