#31943F#31943F

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

Color values

HEX#31943F
RGBrgb(49, 148, 63)
HSLhsl(128, 50%, 39%)
HSVhsv(128, 67%, 58%)
CMYKcmyk(66.9%, 0%, 57.4%, 42%)
CIE-LABlab(54.23, -46.74, 36.24)
CIE-LCHlch(54.23, 59.14, 142.21°)
OKLaboklab(58.98% -0.1263 0.0862)
OKLCHoklch(58.98% 0.153 145.7)
XYZxyz(12.7529, 22.1903, 8.3127)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31943F #943186
analogous
#549431 #31943F #319470
triadic
#31943F #3F3194 #943F31
tetradic
#31943F #315494 #943186 #947031
square
#31943F #315494 #943186 #947031
split-complementary
#31943F #703194 #943154
monochromatic
#133818 #22662B #31943F #42C054 #70D07D

Accessibility & contrast

On white

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

On black

5.44
#31943F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31943F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31943F#FFFFFF#000000##000000
##31943F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968737
Deuteranopia (green-blind)
#8A7E46
Tritanopia (blue-blind)
#149081
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31943f;
/* rgb */ color: rgb(49, 148, 63);
/* oklch */ color: oklch(59.0% 0.153 145.7);
Tailwind
colors: {
  custom: {
    50: '#76b476',
    500: '#31943f',
    950: '#000000',
  },
}
SCSS
$custom: #31943f;
$custom-light: #76b476;
$custom-dark: #000000;
JSON
{
  "hex": "#31943f",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 63
  },
  "hsl": {
    "h": 128.485,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.15293,
    "h": 145.7
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#31943F
secondary
#B769AC
accent
#4EC6DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #31943F

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

Preview Lab → · Contrast checker → · Palette generator →

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