#7DAB31#7DAB31

#7DAB31 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.4% C 0.157 H 128.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7DAB31
RGBrgb(125, 171, 49)
HSLhsl(83, 55%, 43%)
HSVhsv(83, 71%, 67%)
CMYKcmyk(26.9%, 0%, 71.3%, 32.9%)
CIE-LABlab(64.73, -33.82, 54.84)
CIE-LCHlch(64.73, 64.43, 121.66°)
OKLaboklab(68.45% -0.0966 0.1233)
OKLCHoklch(68.45% 0.157 128.1)
XYZxyz(23.5747, 33.7070, 8.1692)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAB31 #5F31AB
analogous
#AB9C31 #7DAB31 #40AB31
triadic
#7DAB31 #317DAB #AB317D
tetradic
#7DAB31 #31AB9C #5F31AB #AB3140
square
#7DAB31 #31AB9C #5F31AB #AB3140
split-complementary
#7DAB31 #3140AB #9C31AB
monochromatic
#374C16 #5A7B23 #7DAB31 #9CCC4D #B7DA7D

Accessibility & contrast

On white

2.71
#7DAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7DAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAB31
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAB31#FFFFFF#000000##000000
##7DAB311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1C
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#81A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7dab31;
/* rgb */ color: rgb(125, 171, 49);
/* oklch */ color: oklch(68.4% 0.157 128.1);
Tailwind
colors: {
  custom: {
    50: '#a6c471',
    500: '#7dab31',
    950: '#000000',
  },
}
SCSS
$custom: #7dab31;
$custom-light: #a6c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7dab31",
  "rgb": {
    "r": 125,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 82.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.15664,
    "h": 128.1
  },
  "luminance": 0.33708
}

Semantic roles & 50–950 ramp

primary
#7DAB31
secondary
#9275C2
accent
#49DF81
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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