#31CF2D#31CF2D

#31CF2D is a light, highly saturated green. Relative luminance 0.455; OKLCH L 74.7% C 0.233 H 142.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#31CF2D
RGBrgb(49, 207, 45)
HSLhsl(119, 64%, 49%)
HSVhsv(119, 78%, 81%)
CMYKcmyk(76.3%, 0%, 78.3%, 18.8%)
CIE-LABlab(73.20, -68.22, 63.58)
CIE-LCHlch(73.20, 93.25, 137.01°)
OKLaboklab(74.67% -0.1853 0.142)
OKLCHoklch(74.67% 0.233 142.6)
XYZxyz(24.0516, 45.4653, 9.9902)
Luminance0.4547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF2D #CB2DCF
analogous
#82CF2D #31CF2D #2DCF7A
triadic
#31CF2D #2D31CF #CF2D31
tetradic
#31CF2D #2D82CF #CB2DCF #CF7A2D
square
#31CF2D #2D82CF #CB2DCF #CF7A2D
split-complementary
#31CF2D #7A2DCF #CF2D82
monochromatic
#196A17 #259D22 #31CF2D #60DC5D #92E790

Accessibility & contrast

On white

2.08
#31CF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#31CF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF2D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF2D#FFFFFF#000000##000000
##31CF2D1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#00C9B1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #31cf2d;
/* rgb */ color: rgb(49, 207, 45);
/* oklch */ color: oklch(74.7% 0.233 142.6);
Tailwind
colors: {
  custom: {
    50: '#84df73',
    500: '#31cf2d',
    950: '#000000',
  },
}
SCSS
$custom: #31cf2d;
$custom-light: #84df73;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf2d",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 45
  },
  "hsl": {
    "h": 118.519,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74665,
    "c": 0.23345,
    "h": 142.6
  },
  "luminance": 0.45468
}

Semantic roles & 50–950 ramp

primary
#31CF2D
secondary
#CF87D1
accent
#41E7E3
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #31CF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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