#7E9930#7E9930

#7E9930 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.134 H 122.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7E9930
RGBrgb(126, 153, 48)
HSLhsl(75, 52%, 39%)
HSVhsv(75, 69%, 60%)
CMYKcmyk(17.6%, 0%, 68.6%, 40%)
CIE-LABlab(59.37, -24.88, 49.80)
CIE-LCHlch(59.37, 55.67, 116.55°)
OKLaboklab(64.13% -0.0722 0.1125)
OKLCHoklch(64.13% 0.134 122.7)
XYZxyz(20.5291, 27.4314, 7.0090)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9930 #4B3099
analogous
#998030 #7E9930 #499930
triadic
#7E9930 #307E99 #99307E
tetradic
#7E9930 #309980 #4B3099 #993049
square
#7E9930 #309980 #4B3099 #993049
split-complementary
#7E9930 #304999 #803099
monochromatic
#313C13 #586A21 #7E9930 #A3C442 #B9D271

Accessibility & contrast

On white

3.24
#7E9930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7E9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9930
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9930#FFFFFF#000000##000000
##7E99301.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9930;
/* rgb */ color: rgb(126, 153, 48);
/* oklch */ color: oklch(64.1% 0.134 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b76e',
    500: '#7e9930',
    950: '#000000',
  },
}
SCSS
$custom: #7e9930;
$custom-light: #a6b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9930",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 75.429,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.13371,
    "h": 122.7
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#7E9930
secondary
#7F6BBA
accent
#4CDC71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9930

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

Preview Lab → · Contrast checker → · Palette generator →

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