#7E9D32#7E9D32

#7E9D32 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.1% C 0.137 H 124.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7E9D32
RGBrgb(126, 157, 50)
HSLhsl(77, 52%, 41%)
HSVhsv(77, 68%, 62%)
CMYKcmyk(19.7%, 0%, 68.2%, 38.4%)
CIE-LABlab(60.59, -26.71, 50.23)
CIE-LCHlch(60.59, 56.89, 118.00°)
OKLaboklab(65.11% -0.0771 0.1138)
OKLCHoklch(65.11% 0.137 124.1)
XYZxyz(21.2371, 28.7797, 7.4532)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D32 #51329D
analogous
#9D8632 #7E9D32 #489D32
triadic
#7E9D32 #327E9D #9D327E
tetradic
#7E9D32 #329D86 #51329D #9D3248
square
#7E9D32 #329D86 #51329D #9D3248
split-complementary
#7E9D32 #32489D #86329D
monochromatic
#334014 #596F23 #7E9D32 #A0C548 #B8D376

Accessibility & contrast

On white

3.11
#7E9D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7E9D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D32
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D32#FFFFFF#000000##000000
##7E9D321.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69323
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#849587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d32;
/* rgb */ color: rgb(126, 157, 50);
/* oklch */ color: oklch(65.1% 0.137 124.1);
Tailwind
colors: {
  custom: {
    50: '#a6ba70',
    500: '#7e9d32',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d32;
$custom-light: #a6ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d32",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 77.383,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.13741,
    "h": 124.1
  },
  "luminance": 0.2878
}

Semantic roles & 50–950 ramp

primary
#7E9D32
secondary
#856FBC
accent
#4DDB76
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9D32

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

Preview Lab → · Contrast checker → · Palette generator →

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