#7E9533#7E9533

#7E9533 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.126 H 121.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E9533
RGBrgb(126, 149, 51)
HSLhsl(74, 49%, 39%)
HSVhsv(74, 66%, 58%)
CMYKcmyk(15.4%, 0%, 65.8%, 41.6%)
CIE-LABlab(58.20, -22.67, 47.31)
CIE-LCHlch(58.20, 52.46, 115.61°)
OKLaboklab(63.19% -0.0658 0.1078)
OKLCHoklch(63.19% 0.126 121.4)
XYZxyz(19.9494, 26.1695, 7.1316)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9533 #4A3395
analogous
#957B33 #7E9533 #4D9533
triadic
#7E9533 #337E95 #95337E
tetradic
#7E9533 #33957B #4A3395 #95334D
square
#7E9533 #33957B #4A3395 #95334D
split-complementary
#7E9533 #334D95 #7B3395
monochromatic
#313A14 #576723 #7E9533 #A3C046 #BACF73

Accessibility & contrast

On white

3.37
#7E9533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E9533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9533
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9533#FFFFFF#000000##000000
##7E95331.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C26
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#858D81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9533;
/* rgb */ color: rgb(126, 149, 51);
/* oklch */ color: oklch(63.2% 0.126 121.4);
Tailwind
colors: {
  custom: {
    50: '#a6b470',
    500: '#7e9533',
    950: '#000000',
  },
}
SCSS
$custom: #7e9533;
$custom-light: #a6b470;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9533",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 74.082,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.12625,
    "h": 121.4
  },
  "luminance": 0.2617
}

Semantic roles & 50–950 ramp

primary
#7E9533
secondary
#7E6CB7
accent
#4FD96F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9533

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

Preview Lab → · Contrast checker → · Palette generator →

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