#7FAD31#7FAD31

#7FAD31 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.1% C 0.158 H 127.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7FAD31
RGBrgb(127, 173, 49)
HSLhsl(82, 56%, 44%)
HSVhsv(82, 72%, 68%)
CMYKcmyk(26.6%, 0%, 71.7%, 32.2%)
CIE-LABlab(65.45, -33.96, 55.60)
CIE-LCHlch(65.45, 65.15, 121.42°)
OKLaboklab(69.07% -0.0971 0.1249)
OKLCHoklch(69.07% 0.158 127.9)
XYZxyz(24.2504, 34.6204, 8.3099)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAD31 #5F31AD
analogous
#AD9D31 #7FAD31 #41AD31
triadic
#7FAD31 #317FAD #AD317F
tetradic
#7FAD31 #31AD9D #5F31AD #AD3141
square
#7FAD31 #31AD9D #5F31AD #AD3141
split-complementary
#7FAD31 #3141AD #9D31AD
monochromatic
#394E16 #5C7D23 #7FAD31 #9ECD4E #B8DA7E

Accessibility & contrast

On white

2.65
#7FAD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#7FAD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAD31
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAD31#FFFFFF#000000##000000
##7FAD311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#84A595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fad31;
/* rgb */ color: rgb(127, 173, 49);
/* oklch */ color: oklch(69.1% 0.158 127.9);
Tailwind
colors: {
  custom: {
    50: '#a8c571',
    500: '#7fad31',
    950: '#000000',
  },
}
SCSS
$custom: #7fad31;
$custom-light: #a8c571;
$custom-dark: #000000;
JSON
{
  "hex": "#7fad31",
  "rgb": {
    "r": 127,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 82.258,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69066,
    "c": 0.15818,
    "h": 127.9
  },
  "luminance": 0.34621
}

Semantic roles & 50–950 ramp

primary
#7FAD31
secondary
#9377C3
accent
#49DF80
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAD31

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

Preview Lab → · Contrast checker → · Palette generator →

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