#7FD331#7FD331

#7FD331 is a light, highly saturated yellow-green. Relative luminance 0.513; OKLCH L 78.4% C 0.205 H 133.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#7FD331
RGBrgb(127, 211, 49)
HSLhsl(91, 65%, 51%)
HSVhsv(91, 77%, 83%)
CMYKcmyk(39.8%, 0%, 76.8%, 17.3%)
CIE-LABlab(76.87, -50.32, 66.71)
CIE-LCHlch(76.87, 83.56, 127.02°)
OKLaboklab(78.38% -0.1415 0.1481)
OKLCHoklch(78.38% 0.205 133.7)
XYZxyz(32.6005, 51.3207, 11.0933)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD331 #8531D3
analogous
#D0D331 #7FD331 #31D334
triadic
#7FD331 #317FD3 #D3317F
tetradic
#7FD331 #31D0D3 #8531D3 #D33431
square
#7FD331 #31D0D3 #8531D3 #D33431
split-complementary
#7FD331 #3431D3 #D331D0
monochromatic
#437118 #61A423 #7FD331 #9EDE63 #BEE996

Accessibility & contrast

On white

1.86
#7FD331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#7FD331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD331
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD331#FFFFFF#000000##000000
##7FD3311.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#7FCBB5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #7fd331;
/* rgb */ color: rgb(127, 211, 49);
/* oklch */ color: oklch(78.4% 0.205 133.7);
Tailwind
colors: {
  custom: {
    50: '#abe176',
    500: '#7fd331',
    950: '#000000',
  },
}
SCSS
$custom: #7fd331;
$custom-light: #abe176;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd331",
  "rgb": {
    "r": 127,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 91.111,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7838,
    "c": 0.20485,
    "h": 133.7
  },
  "luminance": 0.51322
}

Semantic roles & 50–950 ramp

primary
#7FD331
secondary
#562E7A
accent
#40E897
background
#FDFEFB
surface
#F8FCF1
border
#D1D5CB
text
#111509
muted
#81847D

Preview Lab

Preview with #7FD331

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

Preview Lab → · Contrast checker → · Palette generator →

#7FD331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva