#7DAC31#7DAC31

#7DAC31 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.7% C 0.158 H 128.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7DAC31
RGBrgb(125, 172, 49)
HSLhsl(83, 56%, 43%)
HSVhsv(83, 72%, 67%)
CMYKcmyk(27.3%, 0%, 71.5%, 32.5%)
CIE-LABlab(65.03, -34.28, 55.14)
CIE-LCHlch(65.03, 64.93, 121.87°)
OKLaboklab(68.69% -0.0979 0.1239)
OKLCHoklch(68.69% 0.158 128.3)
XYZxyz(23.7643, 34.0862, 8.2324)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAC31 #6031AC
analogous
#AC9D31 #7DAC31 #3FAC31
triadic
#7DAC31 #317DAC #AC317D
tetradic
#7DAC31 #31AC9D #6031AC #AC313F
square
#7DAC31 #31AC9D #6031AC #AC313F
split-complementary
#7DAC31 #313FAC #9D31AC
monochromatic
#384D16 #5A7C23 #7DAC31 #9CCC4E #B7DA7D

Accessibility & contrast

On white

2.69
#7DAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#7DAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAC31
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAC31#FFFFFF#000000##000000
##7DAC311.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01C
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#81A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7dac31;
/* rgb */ color: rgb(125, 172, 49);
/* oklch */ color: oklch(68.7% 0.158 128.3);
Tailwind
colors: {
  custom: {
    50: '#a6c571',
    500: '#7dac31',
    950: '#000000',
  },
}
SCSS
$custom: #7dac31;
$custom-light: #a6c571;
$custom-dark: #000000;
JSON
{
  "hex": "#7dac31",
  "rgb": {
    "r": 125,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 82.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.15791,
    "h": 128.3
  },
  "luminance": 0.34087
}

Semantic roles & 50–950 ramp

primary
#7DAC31
secondary
#9376C3
accent
#49DF82
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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