#7F9930#7F9930

#7F9930 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.133 H 122.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F9930
RGBrgb(127, 153, 48)
HSLhsl(75, 52%, 39%)
HSVhsv(75, 69%, 60%)
CMYKcmyk(17%, 0%, 68.6%, 40%)
CIE-LABlab(59.44, -24.46, 49.89)
CIE-LCHlch(59.44, 55.57, 116.12°)
OKLaboklab(64.2% -0.0711 0.1127)
OKLCHoklch(64.2% 0.133 122.2)
XYZxyz(20.6774, 27.5078, 7.0159)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9930 #4A3099
analogous
#997F30 #7F9930 #4B9930
triadic
#7F9930 #307F99 #99307F
tetradic
#7F9930 #30997F #4A3099 #99304B
square
#7F9930 #30997F #4A3099 #99304B
split-complementary
#7F9930 #304B99 #7F3099
monochromatic
#323C13 #586A21 #7F9930 #A4C442 #BAD271

Accessibility & contrast

On white

3.23
#7F9930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7F9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9930
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9930#FFFFFF#000000##000000
##7F99301.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#869184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9930;
/* rgb */ color: rgb(127, 153, 48);
/* oklch */ color: oklch(64.2% 0.133 122.2);
Tailwind
colors: {
  custom: {
    50: '#a7b76e',
    500: '#7f9930',
    950: '#000000',
  },
}
SCSS
$custom: #7f9930;
$custom-light: #a7b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9930",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 74.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64199,
    "c": 0.13327,
    "h": 122.2
  },
  "luminance": 0.27508
}

Semantic roles & 50–950 ramp

primary
#7F9930
secondary
#7E6BBA
accent
#4CDC70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7F9930

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

Preview Lab → · Contrast checker → · Palette generator →

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