#31943E#31943E

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

Color values

HEX#31943E
RGBrgb(49, 148, 62)
HSLhsl(128, 50%, 39%)
HSVhsv(128, 67%, 58%)
CMYKcmyk(66.9%, 0%, 58.1%, 42%)
CIE-LABlab(54.22, -46.87, 36.72)
CIE-LCHlch(54.22, 59.54, 141.93°)
OKLaboklab(58.97% -0.1267 0.0872)
OKLCHoklch(58.97% 0.154 145.5)
XYZxyz(12.7252, 22.1793, 8.1669)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31943E #943187
analogous
#559431 #31943E #31946F
triadic
#31943E #3E3194 #943E31
tetradic
#31943E #315594 #943187 #946F31
square
#31943E #315594 #943187 #946F31
split-complementary
#31943E #6F3194 #943155
monochromatic
#133817 #22662B #31943E #42C052 #70D07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31943E#FFFFFF#000000##000000
##31943E1.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)
#968736
Deuteranopia (green-blind)
#8A7E45
Tritanopia (blue-blind)
#149081
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31943e;
/* rgb */ color: rgb(49, 148, 62);
/* oklch */ color: oklch(59.0% 0.154 145.5);
Tailwind
colors: {
  custom: {
    50: '#76b476',
    500: '#31943e',
    950: '#000000',
  },
}
SCSS
$custom: #31943e;
$custom-light: #76b476;
$custom-dark: #000000;
JSON
{
  "hex": "#31943e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 62
  },
  "hsl": {
    "h": 127.879,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.15381,
    "h": 145.5
  },
  "luminance": 0.22181
}

Semantic roles & 50–950 ramp

primary
#31943E
secondary
#B769AD
accent
#4EC7DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #31943E

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

Preview Lab → · Contrast checker → · Palette generator →

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