#31943D#31943D

#31943D is a mid, vivid green. Relative luminance 0.222; OKLCH L 59.0% C 0.155 H 145.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#31943D
RGBrgb(49, 148, 61)
HSLhsl(127, 50%, 39%)
HSVhsv(127, 67%, 58%)
CMYKcmyk(66.9%, 0%, 58.8%, 42%)
CIE-LABlab(54.21, -47.00, 37.19)
CIE-LCHlch(54.21, 59.94, 141.65°)
OKLaboklab(58.95% -0.1271 0.0881)
OKLCHoklch(58.95% 0.155 145.3)
XYZxyz(12.6980, 22.1684, 8.0237)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31943D #943188
analogous
#569431 #31943D #31946E
triadic
#31943D #3D3194 #943D31
tetradic
#31943D #315694 #943188 #946E31
square
#31943D #315694 #943188 #946E31
split-complementary
#31943D #6E3194 #943156
monochromatic
#133817 #22662A #31943D #42C051 #70D07B

Accessibility & contrast

On white

3.86
#31943D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#31943D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31943D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31943D#FFFFFF#000000##000000
##31943D1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968734
Deuteranopia (green-blind)
#8A7E44
Tritanopia (blue-blind)
#159081
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31943d;
/* rgb */ color: rgb(49, 148, 61);
/* oklch */ color: oklch(59.0% 0.155 145.3);
Tailwind
colors: {
  custom: {
    50: '#76b475',
    500: '#31943d',
    950: '#000000',
  },
}
SCSS
$custom: #31943d;
$custom-light: #76b475;
$custom-dark: #000000;
JSON
{
  "hex": "#31943d",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 61
  },
  "hsl": {
    "h": 127.273,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.15468,
    "h": 145.3
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#31943D
secondary
#B769AE
accent
#4EC9DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #31943D

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

Preview Lab → · Contrast checker → · Palette generator →

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