#7E9732#7E9732

#7E9732 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.130 H 122.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7E9732
RGBrgb(126, 151, 50)
HSLhsl(75, 50%, 39%)
HSVhsv(75, 67%, 59%)
CMYKcmyk(16.6%, 0%, 66.9%, 40.8%)
CIE-LABlab(58.79, -23.75, 48.36)
CIE-LCHlch(58.79, 53.87, 116.16°)
OKLaboklab(63.66% -0.0689 0.1098)
OKLCHoklch(63.66% 0.13 122.1)
XYZxyz(20.2468, 26.7991, 7.1231)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9732 #4B3297
analogous
#977E32 #7E9732 #4C9732
triadic
#7E9732 #327E97 #97327E
tetradic
#7E9732 #32977E #4B3297 #97324C
square
#7E9732 #32977E #4B3297 #97324C
split-complementary
#7E9732 #324C97 #7E3297
monochromatic
#313B14 #586923 #7E9732 #A3C145 #B9D173

Accessibility & contrast

On white

3.30
#7E9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7E9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9732
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9732#FFFFFF#000000##000000
##7E97321.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#9D8D3A
Tritanopia (blue-blind)
#848F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9732;
/* rgb */ color: rgb(126, 151, 50);
/* oklch */ color: oklch(63.7% 0.130 122.1);
Tailwind
colors: {
  custom: {
    50: '#a6b56f',
    500: '#7e9732',
    950: '#000000',
  },
}
SCSS
$custom: #7e9732;
$custom-light: #a6b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9732",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 74.851,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.12963,
    "h": 122.1
  },
  "luminance": 0.26799
}

Semantic roles & 50–950 ramp

primary
#7E9732
secondary
#7F6CB9
accent
#4EDA71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9732

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

Preview Lab → · Contrast checker → · Palette generator →

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