#31B52D#31B52D

#31B52D is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.7% C 0.206 H 142.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B52D
RGBrgb(49, 181, 45)
HSLhsl(118, 60%, 44%)
HSVhsv(118, 75%, 71%)
CMYKcmyk(72.9%, 0%, 75.1%, 29%)
CIE-LABlab(64.87, -60.07, 55.46)
CIE-LCHlch(64.87, 81.76, 137.29°)
OKLaboklab(67.75% -0.1633 0.125)
OKLCHoklch(67.75% 0.206 142.6)
XYZxyz(18.2631, 33.8881, 8.0607)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B52D #B12DB5
analogous
#75B52D #31B52D #2DB56D
triadic
#31B52D #2D31B5 #B52D31
tetradic
#31B52D #2D75B5 #B12DB5 #B56D2D
square
#31B52D #2D75B5 #B12DB5 #B56D2D
split-complementary
#31B52D #6D2DB5 #B52D75
monochromatic
#165315 #248421 #31B52D #51D34D #80DF7E

Accessibility & contrast

On white

2.70
#31B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B52D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B52D#FFFFFF#000000##000000
##31B52D1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A410
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b52d;
/* rgb */ color: rgb(49, 181, 45);
/* oklch */ color: oklch(67.7% 0.206 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ecc6f',
    500: '#31b52d',
    950: '#000000',
  },
}
SCSS
$custom: #31b52d;
$custom-light: #7ecc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b52d",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 118.235,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.20562,
    "h": 142.6
  },
  "luminance": 0.3389
}

Semantic roles & 50–950 ramp

primary
#31B52D
secondary
#C576C7
accent
#44E3DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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