#31B733#31B733

#31B733 is a light, highly saturated green. Relative luminance 0.348; OKLCH L 68.3% C 0.204 H 143.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B733
RGBrgb(49, 183, 51)
HSLhsl(121, 58%, 45%)
HSVhsv(121, 73%, 72%)
CMYKcmyk(73.2%, 0%, 72.1%, 28.2%)
CIE-LABlab(65.56, -60.24, 53.99)
CIE-LCHlch(65.56, 80.89, 138.13°)
OKLaboklab(68.33% -0.1634 0.1227)
OKLCHoklch(68.33% 0.204 143.1)
XYZxyz(18.7965, 34.7568, 8.8495)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B733 #B731B5
analogous
#72B731 #31B733 #31B776
triadic
#31B733 #3331B7 #B73331
tetradic
#31B733 #3172B7 #B731B5 #B77631
square
#31B733 #3172B7 #B731B5 #B77631
split-complementary
#31B733 #7631B7 #B73172
monochromatic
#175618 #248726 #31B733 #54D156 #84DE86

Accessibility & contrast

On white

2.64
#31B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B733
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B733#FFFFFF#000000##000000
##31B7331.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61C
Deuteranopia (green-blind)
#AC9B40
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b733;
/* rgb */ color: rgb(49, 183, 51);
/* oklch */ color: oklch(68.3% 0.204 143.1);
Tailwind
colors: {
  custom: {
    50: '#7ece73',
    500: '#31b733',
    950: '#000000',
  },
}
SCSS
$custom: #31b733;
$custom-light: #7ece73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b733",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 120.896,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68329,
    "c": 0.20438,
    "h": 143.1
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#31B733
secondary
#C87CC6
accent
#47DFE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B733

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

Preview Lab → · Contrast checker → · Palette generator →

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