#7DCF31#7DCF31

#7DCF31 is a light, highly saturated yellow-green. Relative luminance 0.492; OKLCH L 77.3% C 0.201 H 133.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#7DCF31
RGBrgb(125, 207, 49)
HSLhsl(91, 62%, 50%)
HSVhsv(91, 76%, 81%)
CMYKcmyk(39.6%, 0%, 76.3%, 18.8%)
CIE-LABlab(75.58, -49.37, 65.45)
CIE-LCHlch(75.58, 81.98, 127.03°)
OKLaboklab(77.3% -0.1388 0.1455)
OKLCHoklch(77.3% 0.201 133.6)
XYZxyz(31.3241, 49.2058, 10.7523)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DCF31 #8331CF
analogous
#CCCF31 #7DCF31 #31CF34
triadic
#7DCF31 #317DCF #CF317D
tetradic
#7DCF31 #31CCCF #8331CF #CF3431
square
#7DCF31 #31CCCF #8331CF #CF3431
split-complementary
#7DCF31 #3431CF #CF31CC
monochromatic
#416C19 #5F9E25 #7DCF31 #9CDB63 #BCE694

Accessibility & contrast

On white

1.94
#7DCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#7DCF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DCF31
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DCF31#FFFFFF#000000##000000
##7DCF311.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#7DC7B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #7dcf31;
/* rgb */ color: rgb(125, 207, 49);
/* oklch */ color: oklch(77.3% 0.201 133.6);
Tailwind
colors: {
  custom: {
    50: '#a9de75',
    500: '#7dcf31',
    950: '#000000',
  },
}
SCSS
$custom: #7dcf31;
$custom-light: #a9de75;
$custom-dark: #000000;
JSON
{
  "hex": "#7dcf31",
  "rgb": {
    "r": 125,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 91.139,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77296,
    "c": 0.20111,
    "h": 133.6
  },
  "luminance": 0.49207
}

Semantic roles & 50–950 ramp

primary
#7DCF31
secondary
#AF8BD1
accent
#43E597
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7DCF31

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

Preview Lab → · Contrast checker → · Palette generator →

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