#7DCC31#7DCC31

#7DCC31 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.6% C 0.198 H 133.3°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7DCC31
RGBrgb(125, 204, 49)
HSLhsl(91, 61%, 50%)
HSVhsv(91, 76%, 80%)
CMYKcmyk(38.7%, 0%, 76%, 20%)
CIE-LABlab(74.68, -48.15, 64.59)
CIE-LCHlch(74.68, 80.56, 126.70°)
OKLaboklab(76.56% -0.1355 0.1437)
OKLCHoklch(76.56% 0.198 133.3)
XYZxyz(30.6042, 47.7660, 10.5123)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DCC31 #8031CC
analogous
#CACC31 #7DCC31 #31CC33
triadic
#7DCC31 #317DCC #CC317D
tetradic
#7DCC31 #31CACC #8031CC #CC3331
square
#7DCC31 #31CACC #8031CC #CC3331
split-complementary
#7DCC31 #3331CC #CC31CA
monochromatic
#416919 #5F9B25 #7DCC31 #9CD961 #BBE592

Accessibility & contrast

On white

1.99
#7DCC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#7DCC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DCC31
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DCC31#FFFFFF#000000##000000
##7DCC311.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC08
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#7DC4AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7dcc31;
/* rgb */ color: rgb(125, 204, 49);
/* oklch */ color: oklch(76.6% 0.198 133.3);
Tailwind
colors: {
  custom: {
    50: '#a9dc75',
    500: '#7dcc31',
    950: '#000000',
  },
}
SCSS
$custom: #7dcc31;
$custom-light: #a9dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#7dcc31",
  "rgb": {
    "r": 125,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 90.581,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76557,
    "c": 0.19754,
    "h": 133.3
  },
  "luminance": 0.47767
}

Semantic roles & 50–950 ramp

primary
#7DCC31
secondary
#AD89D0
accent
#43E495
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7DCC31

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

Preview Lab → · Contrast checker → · Palette generator →

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