#7F9620#7F9620

#7F9620 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.4% C 0.140 H 120.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F9620
RGBrgb(127, 150, 32)
HSLhsl(72, 65%, 36%)
HSVhsv(72, 79%, 59%)
CMYKcmyk(15.3%, 0%, 78.7%, 41.2%)
CIE-LABlab(58.44, -23.87, 54.79)
CIE-LCHlch(58.44, 59.76, 113.55°)
OKLaboklab(63.36% -0.0709 0.1203)
OKLCHoklch(63.36% 0.14 120.5)
XYZxyz(19.9198, 26.4291, 5.4181)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9620 #372096
analogous
#967220 #7F9620 #449620
triadic
#7F9620 #207F96 #96207F
tetradic
#7F9620 #209672 #372096 #962044
square
#7F9620 #209672 #372096 #962044
split-complementary
#7F9620 #204496 #722096
monochromatic
#2A310A #546415 #7F9620 #AAC82B #C1DB56

Accessibility & contrast

On white

3.34
#7F9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7F9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9620
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9620#FFFFFF#000000##000000
##7F96201.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#878E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9620;
/* rgb */ color: rgb(127, 150, 32);
/* oklch */ color: oklch(63.4% 0.140 120.5);
Tailwind
colors: {
  custom: {
    50: '#a8b466',
    500: '#7f9620',
    950: '#000000',
  },
}
SCSS
$custom: #7f9620;
$custom-light: #a8b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9620",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 71.695,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63361,
    "c": 0.13968,
    "h": 120.5
  },
  "luminance": 0.26429
}

Semantic roles & 50–950 ramp

primary
#7F9620
secondary
#6853BE
accent
#40E861
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9620

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

Preview Lab → · Contrast checker → · Palette generator →

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