#31B430#31B430

#31B430 is a light, highly saturated green. Relative luminance 0.335; OKLCH L 67.5% C 0.203 H 142.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#31B430
RGBrgb(49, 180, 48)
HSLhsl(120, 58%, 45%)
HSVhsv(120, 73%, 71%)
CMYKcmyk(72.8%, 0%, 73.3%, 29.4%)
CIE-LABlab(64.57, -59.51, 54.08)
CIE-LCHlch(64.57, 80.42, 137.74°)
OKLaboklab(67.5% -0.1616 0.1225)
OKLCHoklch(67.5% 0.203 142.8)
XYZxyz(18.1203, 33.5069, 8.3082)
Luminance0.3351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B430 #B330B4
analogous
#73B430 #31B430 #30B471
triadic
#31B430 #3031B4 #B43031
tetradic
#31B430 #3073B4 #B330B4 #B47130
square
#31B430 #3073B4 #B330B4 #B47130
split-complementary
#31B430 #7130B4 #B43073
monochromatic
#175316 #248423 #31B430 #52D151 #82DD81

Accessibility & contrast

On white

2.73
#31B430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#31B430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B430
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B430#FFFFFF#000000##000000
##31B4301.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A318
Deuteranopia (green-blind)
#A9993E
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b430;
/* rgb */ color: rgb(49, 180, 48);
/* oklch */ color: oklch(67.5% 0.203 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ecc71',
    500: '#31b430',
    950: '#000000',
  },
}
SCSS
$custom: #31b430;
$custom-light: #7ecc71;
$custom-dark: #000000;
JSON
{
  "hex": "#31b430",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 119.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.2028,
    "h": 142.8
  },
  "luminance": 0.33509
}

Semantic roles & 50–950 ramp

primary
#31B430
secondary
#C679C6
accent
#47E1E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B430

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

Preview Lab → · Contrast checker → · Palette generator →

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