#7F9D16#7F9D16

#7F9D16 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.152 H 122.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7F9D16
RGBrgb(127, 157, 22)
HSLhsl(73, 75%, 35%)
HSVhsv(73, 86%, 62%)
CMYKcmyk(19.1%, 0%, 86%, 38.4%)
CIE-LABlab(60.50, -27.70, 59.38)
CIE-LCHlch(60.50, 65.52, 115.01°)
OKLaboklab(65.01% -0.082 0.1284)
OKLCHoklch(65.01% 0.152 122.6)
XYZxyz(20.9545, 28.6838, 5.1915)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9D16 #34169D
analogous
#9D7716 #7F9D16 #3C9D16
triadic
#7F9D16 #167F9D #9D167F
tetradic
#7F9D16 #169D77 #34169D #9D163C
square
#7F9D16 #169D77 #34169D #9D163C
split-complementary
#7F9D16 #163C9D #77169D
monochromatic
#283207 #54670E #7F9D16 #AAD31E #C2E548

Accessibility & contrast

On white

3.12
#7F9D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7F9D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9D16
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9D16#FFFFFF#000000##000000
##7F9D161.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#869586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f9d16;
/* rgb */ color: rgb(127, 157, 22);
/* oklch */ color: oklch(65.0% 0.152 122.6);
Tailwind
colors: {
  custom: {
    50: '#a8ba63',
    500: '#7f9d16',
    950: '#000000',
  },
}
SCSS
$custom: #7f9d16;
$custom-light: #a8ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9d16",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 22
  },
  "hsl": {
    "h": 73.333,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.1524,
    "h": 122.6
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#7F9D16
secondary
#6448C7
accent
#36F260
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9D16

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

Preview Lab → · Contrast checker → · Palette generator →

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