#7F9732#7F9732

#7F9732 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.129 H 121.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7F9732
RGBrgb(127, 151, 50)
HSLhsl(74, 50%, 39%)
HSVhsv(74, 67%, 59%)
CMYKcmyk(15.9%, 0%, 66.9%, 40.8%)
CIE-LABlab(58.86, -23.33, 48.45)
CIE-LCHlch(58.86, 53.78, 115.71°)
OKLaboklab(63.73% -0.0678 0.11)
OKLCHoklch(63.73% 0.129 121.6)
XYZxyz(20.3950, 26.8755, 7.1300)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9732 #4A3297
analogous
#977D32 #7F9732 #4D9732
triadic
#7F9732 #327F97 #97327F
tetradic
#7F9732 #32977D #4A3297 #97324D
square
#7F9732 #32977D #4A3297 #97324D
split-complementary
#7F9732 #324D97 #7D3297
monochromatic
#323B14 #586923 #7F9732 #A4C145 #BAD173

Accessibility & contrast

On white

3.29
#7F9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7F9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9732
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9732#FFFFFF#000000##000000
##7F97321.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#9D8E3A
Tritanopia (blue-blind)
#868F82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7f9732;
/* rgb */ color: rgb(127, 151, 50);
/* oklch */ color: oklch(63.7% 0.129 121.6);
Tailwind
colors: {
  custom: {
    50: '#a7b56f',
    500: '#7f9732',
    950: '#000000',
  },
}
SCSS
$custom: #7f9732;
$custom-light: #a7b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9732",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 74.257,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.12919,
    "h": 121.6
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#7F9732
secondary
#7E6CB9
accent
#4EDA6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7F9732

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

Preview Lab → · Contrast checker → · Palette generator →

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