#7E9D33#7E9D33

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

Color values

HEX#7E9D33
RGBrgb(126, 157, 51)
HSLhsl(78, 51%, 41%)
HSVhsv(78, 68%, 62%)
CMYKcmyk(19.7%, 0%, 67.5%, 38.4%)
CIE-LABlab(60.59, -26.64, 49.83)
CIE-LCHlch(60.59, 56.50, 118.13°)
OKLaboklab(65.12% -0.0768 0.1131)
OKLCHoklch(65.12% 0.137 124.2)
XYZxyz(21.2589, 28.7884, 7.5681)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D33 #52339D
analogous
#9D8733 #7E9D33 #499D33
triadic
#7E9D33 #337E9D #9D337E
tetradic
#7E9D33 #339D87 #52339D #9D3349
square
#7E9D33 #339D87 #52339D #9D3349
split-complementary
#7E9D33 #33499D #87339D
monochromatic
#344115 #596F24 #7E9D33 #A0C449 #B8D377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9D33#FFFFFF#000000##000000
##7E9D331.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)
#A69324
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#849587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d33;
/* rgb */ color: rgb(126, 157, 51);
/* oklch */ color: oklch(65.1% 0.137 124.2);
Tailwind
colors: {
  custom: {
    50: '#a6ba71',
    500: '#7e9d33',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d33;
$custom-light: #a6ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d33",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 51
  },
  "hsl": {
    "h": 77.547,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.13666,
    "h": 124.2
  },
  "luminance": 0.28789
}

Semantic roles & 50–950 ramp

primary
#7E9D33
secondary
#8670BB
accent
#4DDA77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9D33

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

Preview Lab → · Contrast checker → · Palette generator →

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