#7E9520#7E9520

#7E9520 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.139 H 120.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7E9520
RGBrgb(126, 149, 32)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(15.4%, 0%, 78.5%, 41.6%)
CIE-LABlab(58.07, -23.80, 54.42)
CIE-LCHlch(58.07, 59.40, 113.63°)
OKLaboklab(63.04% -0.0707 0.1196)
OKLCHoklch(63.04% 0.139 120.6)
XYZxyz(19.6127, 26.0348, 5.3582)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9520 #372095
analogous
#957120 #7E9520 #439520
triadic
#7E9520 #207E95 #95207E
tetradic
#7E9520 #209571 #372095 #952043
square
#7E9520 #209571 #372095 #952043
split-complementary
#7E9520 #204395 #712095
monochromatic
#29300A #536315 #7E9520 #A9C72B #C0DA55

Accessibility & contrast

On white

3.38
#7E9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7E9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9520
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9520#FFFFFF#000000##000000
##7E95201.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#858D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9520;
/* rgb */ color: rgb(126, 149, 32);
/* oklch */ color: oklch(63.0% 0.139 120.6);
Tailwind
colors: {
  custom: {
    50: '#a7b466',
    500: '#7e9520',
    950: '#000000',
  },
}
SCSS
$custom: #7e9520;
$custom-light: #a7b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9520",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 71.795,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.13891,
    "h": 120.6
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#7E9520
secondary
#6853BE
accent
#40E861
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9520

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

Preview Lab → · Contrast checker → · Palette generator →

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