#7DCA31#7DCA31

#7DCA31 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.1% C 0.195 H 133.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7DCA31
RGBrgb(125, 202, 49)
HSLhsl(90, 61%, 49%)
HSVhsv(90, 76%, 79%)
CMYKcmyk(38.1%, 0%, 75.7%, 20.8%)
CIE-LABlab(74.08, -47.33, 64.01)
CIE-LCHlch(74.08, 79.61, 126.48°)
OKLaboklab(76.07% -0.1333 0.1425)
OKLCHoklch(76.07% 0.195 133.1)
XYZxyz(30.1319, 46.8214, 10.3549)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DCA31 #7E31CA
analogous
#CACA31 #7DCA31 #31CA32
triadic
#7DCA31 #317DCA #CA317D
tetradic
#7DCA31 #31CACA #7E31CA #CA3231
square
#7DCA31 #31CACA #7E31CA #CA3231
split-complementary
#7DCA31 #3231CA #CA31CA
monochromatic
#406719 #5F9925 #7DCA31 #9CD860 #BAE491

Accessibility & contrast

On white

2.03
#7DCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#7DCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DCA31
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DCA31#FFFFFF#000000##000000
##7DCA311.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0A
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#7DC2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7dca31;
/* rgb */ color: rgb(125, 202, 49);
/* oklch */ color: oklch(76.1% 0.195 133.1);
Tailwind
colors: {
  custom: {
    50: '#a9da74',
    500: '#7dca31',
    950: '#000000',
  },
}
SCSS
$custom: #7dca31;
$custom-light: #a9da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7dca31",
  "rgb": {
    "r": 125,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 90.196,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76065,
    "c": 0.19514,
    "h": 133.1
  },
  "luminance": 0.46823
}

Semantic roles & 50–950 ramp

primary
#7DCA31
secondary
#AC88CF
accent
#44E494
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7DCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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