#7F9E15#7F9E15

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

Color values

HEX#7F9E15
RGBrgb(127, 158, 21)
HSLhsl(74, 77%, 35%)
HSVhsv(74, 87%, 62%)
CMYKcmyk(19.6%, 0%, 86.7%, 38%)
CIE-LABlab(60.80, -28.21, 59.86)
CIE-LCHlch(60.80, 66.17, 115.23°)
OKLaboklab(65.25% -0.0835 0.1293)
OKLCHoklch(65.25% 0.154 122.8)
XYZxyz(21.1149, 29.0198, 5.1983)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9E15 #34159E
analogous
#9E7915 #7F9E15 #3A9E15
triadic
#7F9E15 #157F9E #9E157F
tetradic
#7F9E15 #159E79 #34159E #9E153A
square
#7F9E15 #159E79 #34159E #9E153A
split-complementary
#7F9E15 #153A9E #79159E
monochromatic
#283207 #54680E #7F9E15 #AAD41C #C2E747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9E15#FFFFFF#000000##000000
##7F9E151.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)
#A49326
Tritanopia (blue-blind)
#869586
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9e15;
/* rgb */ color: rgb(127, 158, 21);
/* oklch */ color: oklch(65.3% 0.154 122.8);
Tailwind
colors: {
  custom: {
    50: '#a8ba63',
    500: '#7f9e15',
    950: '#000000',
  },
}
SCSS
$custom: #7f9e15;
$custom-light: #a8ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9e15",
  "rgb": {
    "r": 127,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 73.577,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.15392,
    "h": 122.8
  },
  "luminance": 0.2902
}

Semantic roles & 50–950 ramp

primary
#7F9E15
secondary
#6447C7
accent
#35F360
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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