#7F9E16#7F9E16

#7F9E16 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.154 H 122.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7F9E16
RGBrgb(127, 158, 22)
HSLhsl(74, 76%, 35%)
HSVhsv(74, 86%, 62%)
CMYKcmyk(19.6%, 0%, 86.1%, 38%)
CIE-LABlab(60.80, -28.18, 59.63)
CIE-LCHlch(60.80, 65.95, 115.29°)
OKLaboklab(65.25% -0.0833 0.129)
OKLCHoklch(65.25% 0.154 122.9)
XYZxyz(21.1244, 29.0236, 5.2481)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9E16 #35169E
analogous
#9E7916 #7F9E16 #3B9E16
triadic
#7F9E16 #167F9E #9E167F
tetradic
#7F9E16 #169E79 #35169E #9E163B
square
#7F9E16 #169E79 #35169E #9E163B
split-complementary
#7F9E16 #163B9E #79169E
monochromatic
#293307 #54680F #7F9E16 #AAD41D #C2E649

Accessibility & contrast

On white

3.09
#7F9E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7F9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9E16
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9E16#FFFFFF#000000##000000
##7F9E161.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#869686
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9e16;
/* rgb */ color: rgb(127, 158, 22);
/* oklch */ color: oklch(65.3% 0.154 122.9);
Tailwind
colors: {
  custom: {
    50: '#a8ba63',
    500: '#7f9e16',
    950: '#000000',
  },
}
SCSS
$custom: #7f9e16;
$custom-light: #a8ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9e16",
  "rgb": {
    "r": 127,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 73.676,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65254,
    "c": 0.15357,
    "h": 122.9
  },
  "luminance": 0.29024
}

Semantic roles & 50–950 ramp

primary
#7F9E16
secondary
#6649C7
accent
#36F261
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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