#31B638#31B638

#31B638 is a light, highly saturated green. Relative luminance 0.344; OKLCH L 68.1% C 0.200 H 143.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#31B638
RGBrgb(49, 182, 56)
HSLhsl(123, 58%, 45%)
HSVhsv(123, 73%, 71%)
CMYKcmyk(73.1%, 0%, 69.2%, 28.6%)
CIE-LABlab(65.27, -59.47, 51.75)
CIE-LCHlch(65.27, 78.84, 138.97°)
OKLaboklab(68.1% -0.1611 0.1187)
OKLCHoklch(68.1% 0.2 143.6)
XYZxyz(18.7072, 34.3923, 9.3931)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B638 #B631AF
analogous
#6CB631 #31B638 #31B67A
triadic
#31B638 #3831B6 #B63831
tetradic
#31B638 #316CB6 #B631AF #B67A31
square
#31B638 #316CB6 #B631AF #B67A31
split-complementary
#31B638 #7A31B6 #B6316C
monochromatic
#17561A #248629 #31B638 #53D15A #84DE88

Accessibility & contrast

On white

2.67
#31B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B638
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B638#FFFFFF#000000##000000
##31B6381.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#AB9A44
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b638;
/* rgb */ color: rgb(49, 182, 56);
/* oklch */ color: oklch(68.1% 0.200 143.6);
Tailwind
colors: {
  custom: {
    50: '#7ecd75',
    500: '#31b638',
    950: '#000000',
  },
}
SCSS
$custom: #31b638;
$custom-light: #7ecd75;
$custom-dark: #000000;
JSON
{
  "hex": "#31b638",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 123.158,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.20009,
    "h": 143.6
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#31B638
secondary
#C77CC3
accent
#47D9E1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B638

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

Preview Lab → · Contrast checker → · Palette generator →

#31B638 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva