#7F9617#7F9617

#7F9617 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.144 H 120.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F9617
RGBrgb(127, 150, 23)
HSLhsl(71, 73%, 34%)
HSVhsv(71, 85%, 59%)
CMYKcmyk(15.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.40, -24.23, 57.34)
CIE-LCHlch(58.40, 62.25, 112.91°)
OKLaboklab(63.32% -0.0725 0.1242)
OKLCHoklch(63.32% 0.144 120.3)
XYZxyz(19.8138, 26.3866, 4.8598)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9617 #2E1796
analogous
#966E17 #7F9617 #409617
triadic
#7F9617 #177F96 #96177F
tetradic
#7F9617 #17966E #2E1796 #961740
square
#7F9617 #17966E #2E1796 #961740
split-complementary
#7F9617 #174096 #6E1796
monochromatic
#252C07 #52610F #7F9617 #ACCB1F #C6E245

Accessibility & contrast

On white

3.35
#7F9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7F9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9617
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9617#FFFFFF#000000##000000
##7F96171.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f9617;
/* rgb */ color: rgb(127, 150, 23);
/* oklch */ color: oklch(63.3% 0.144 120.3);
Tailwind
colors: {
  custom: {
    50: '#a8b462',
    500: '#7f9617',
    950: '#000000',
  },
}
SCSS
$custom: #7f9617;
$custom-light: #a8b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9617",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 70.866,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.14384,
    "h": 120.3
  },
  "luminance": 0.26387
}

Semantic roles & 50–950 ramp

primary
#7F9617
secondary
#5C45C3
accent
#38F059
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9617

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

Preview Lab → · Contrast checker → · Palette generator →

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