#7E9932#7E9932

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

Color values

HEX#7E9932
RGBrgb(126, 153, 50)
HSLhsl(76, 51%, 40%)
HSVhsv(76, 67%, 60%)
CMYKcmyk(17.6%, 0%, 67.3%, 40%)
CIE-LABlab(59.39, -24.74, 48.98)
CIE-LCHlch(59.39, 54.88, 116.80°)
OKLaboklab(64.14% -0.0716 0.1111)
OKLCHoklch(64.14% 0.132 122.8)
XYZxyz(20.5714, 27.4483, 7.2313)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9932 #4D3299
analogous
#998132 #7E9932 #4B9932
triadic
#7E9932 #327E99 #99327E
tetradic
#7E9932 #329981 #4D3299 #99324B
square
#7E9932 #329981 #4D3299 #99324B
split-complementary
#7E9932 #324B99 #813299
monochromatic
#323D14 #586B23 #7E9932 #A2C246 #B9D274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9932#FFFFFF#000000##000000
##7E99321.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)
#A29024
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#849184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9932;
/* rgb */ color: rgb(126, 153, 50);
/* oklch */ color: oklch(64.1% 0.132 122.8);
Tailwind
colors: {
  custom: {
    50: '#a6b770',
    500: '#7e9932',
    950: '#000000',
  },
}
SCSS
$custom: #7e9932;
$custom-light: #a6b770;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9932",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 75.728,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.13221,
    "h": 122.8
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#7E9932
secondary
#816DBA
accent
#4EDA72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9932

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

Preview Lab → · Contrast checker → · Palette generator →

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