#7FAE31#7FAE31

#7FAE31 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.3% C 0.159 H 128.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7FAE31
RGBrgb(127, 174, 49)
HSLhsl(83, 56%, 44%)
HSVhsv(83, 72%, 68%)
CMYKcmyk(27%, 0%, 71.8%, 31.8%)
CIE-LABlab(65.75, -34.42, 55.90)
CIE-LCHlch(65.75, 65.65, 121.62°)
OKLaboklab(69.31% -0.0984 0.1255)
OKLCHoklch(69.31% 0.159 128.1)
XYZxyz(24.4428, 35.0053, 8.3740)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAE31 #6031AE
analogous
#AE9E31 #7FAE31 #40AE31
triadic
#7FAE31 #317FAE #AE317F
tetradic
#7FAE31 #31AE9E #6031AE #AE3140
square
#7FAE31 #31AE9E #6031AE #AE3140
split-complementary
#7FAE31 #3140AE #9E31AE
monochromatic
#394E16 #5C7E24 #7FAE31 #9ECD4F #B8DB7F

Accessibility & contrast

On white

2.62
#7FAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#7FAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAE31
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAE31#FFFFFF#000000##000000
##7FAE311.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#83A696
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7fae31;
/* rgb */ color: rgb(127, 174, 49);
/* oklch */ color: oklch(69.3% 0.159 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c671',
    500: '#7fae31',
    950: '#000000',
  },
}
SCSS
$custom: #7fae31;
$custom-light: #a8c671;
$custom-dark: #000000;
JSON
{
  "hex": "#7fae31",
  "rgb": {
    "r": 127,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 82.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.15945,
    "h": 128.1
  },
  "luminance": 0.35006
}

Semantic roles & 50–950 ramp

primary
#7FAE31
secondary
#9477C4
accent
#48DF81
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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