#7DAA31#7DAA31

#7DAA31 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.2% C 0.155 H 127.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7DAA31
RGBrgb(125, 170, 49)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 67%)
CMYKcmyk(26.5%, 0%, 71.2%, 33.3%)
CIE-LABlab(64.43, -33.36, 54.53)
CIE-LCHlch(64.43, 63.93, 121.45°)
OKLaboklab(68.2% -0.0954 0.1227)
OKLCHoklch(68.2% 0.155 127.9)
XYZxyz(23.3866, 33.3307, 8.1065)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAA31 #5E31AA
analogous
#AA9A31 #7DAA31 #40AA31
triadic
#7DAA31 #317DAA #AA317D
tetradic
#7DAA31 #31AA9A #5E31AA #AA3140
square
#7DAA31 #31AA9A #5E31AA #AA3140
split-complementary
#7DAA31 #3140AA #9A31AA
monochromatic
#374B16 #5A7A23 #7DAA31 #9CCC4D #B7D97C

Accessibility & contrast

On white

2.74
#7DAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7DAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAA31
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAA31#FFFFFF#000000##000000
##7DAA311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1D
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#81A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7daa31;
/* rgb */ color: rgb(125, 170, 49);
/* oklch */ color: oklch(68.2% 0.155 127.9);
Tailwind
colors: {
  custom: {
    50: '#a6c371',
    500: '#7daa31',
    950: '#000000',
  },
}
SCSS
$custom: #7daa31;
$custom-light: #a6c371;
$custom-dark: #000000;
JSON
{
  "hex": "#7daa31",
  "rgb": {
    "r": 125,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 82.314,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.15536,
    "h": 127.9
  },
  "luminance": 0.33331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7DAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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