#7E9733#7E9733

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

Color values

HEX#7E9733
RGBrgb(126, 151, 51)
HSLhsl(75, 50%, 40%)
HSVhsv(75, 66%, 59%)
CMYKcmyk(16.6%, 0%, 66.2%, 40.8%)
CIE-LABlab(58.80, -23.68, 47.94)
CIE-LCHlch(58.80, 53.47, 116.28°)
OKLaboklab(63.67% -0.0686 0.1091)
OKLCHoklch(63.67% 0.129 122.2)
XYZxyz(20.2686, 26.8078, 7.2380)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9733 #4C3397
analogous
#977E33 #7E9733 #4C9733
triadic
#7E9733 #337E97 #97337E
tetradic
#7E9733 #33977E #4C3397 #97334C
square
#7E9733 #33977E #4C3397 #97334C
split-complementary
#7E9733 #334C97 #7E3397
monochromatic
#323C14 #586924 #7E9733 #A2C147 #B9D074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9733#FFFFFF#000000##000000
##7E97331.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)
#A08E26
Deuteranopia (green-blind)
#9D8D3A
Tritanopia (blue-blind)
#848F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9733;
/* rgb */ color: rgb(126, 151, 51);
/* oklch */ color: oklch(63.7% 0.129 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b570',
    500: '#7e9733',
    950: '#000000',
  },
}
SCSS
$custom: #7e9733;
$custom-light: #a6b570;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9733",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 75,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.12885,
    "h": 122.2
  },
  "luminance": 0.26808
}

Semantic roles & 50–950 ramp

primary
#7E9733
secondary
#806DB8
accent
#4FD971
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9733

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

Preview Lab → · Contrast checker → · Palette generator →

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