#7E9931#7E9931

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

Color values

HEX#7E9931
RGBrgb(126, 153, 49)
HSLhsl(76, 51%, 40%)
HSVhsv(76, 68%, 60%)
CMYKcmyk(17.6%, 0%, 68%, 40%)
CIE-LABlab(59.38, -24.81, 49.39)
CIE-LCHlch(59.38, 55.28, 116.67°)
OKLaboklab(64.13% -0.0719 0.1118)
OKLCHoklch(64.13% 0.133 122.7)
XYZxyz(20.5500, 27.4398, 7.1189)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9931 #4C3199
analogous
#998031 #7E9931 #4A9931
triadic
#7E9931 #317E99 #99317E
tetradic
#7E9931 #319980 #4C3199 #99314A
square
#7E9931 #319980 #4C3199 #99314A
split-complementary
#7E9931 #314A99 #803199
monochromatic
#323C13 #586B22 #7E9931 #A2C344 #B9D272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9931#FFFFFF#000000##000000
##7E99311.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)
#A29022
Deuteranopia (green-blind)
#9E8F39
Tritanopia (blue-blind)
#849184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9931;
/* rgb */ color: rgb(126, 153, 49);
/* oklch */ color: oklch(64.1% 0.133 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b76f',
    500: '#7e9931',
    950: '#000000',
  },
}
SCSS
$custom: #7e9931;
$custom-light: #a6b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9931",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 75.577,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.13297,
    "h": 122.7
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#7E9931
secondary
#806CBA
accent
#4DDB72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9931

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

Preview Lab → · Contrast checker → · Palette generator →

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