#7E9934#7E9934

#7E9934 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.131 H 122.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7E9934
RGBrgb(126, 153, 52)
HSLhsl(76, 49%, 40%)
HSVhsv(76, 66%, 60%)
CMYKcmyk(17.6%, 0%, 66%, 40%)
CIE-LABlab(59.40, -24.60, 48.15)
CIE-LCHlch(59.40, 54.07, 117.06°)
OKLaboklab(64.16% -0.071 0.1097)
OKLCHoklch(64.16% 0.131 122.9)
XYZxyz(20.6155, 27.4659, 7.4635)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9934 #4F3499
analogous
#998234 #7E9934 #4B9934
triadic
#7E9934 #347E99 #99347E
tetradic
#7E9934 #349982 #4F3499 #99344B
square
#7E9934 #349982 #4F3499 #99344B
split-complementary
#7E9934 #344B99 #823499
monochromatic
#333E15 #586B24 #7E9934 #A1C149 #B9D177

Accessibility & contrast

On white

3.23
#7E9934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7E9934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9934
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9934#FFFFFF#000000##000000
##7E99341.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29027
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#849184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9934;
/* rgb */ color: rgb(126, 153, 52);
/* oklch */ color: oklch(64.2% 0.131 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b771',
    500: '#7e9934',
    950: '#000000',
  },
}
SCSS
$custom: #7e9934;
$custom-light: #a6b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9934",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 76.04,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.13068,
    "h": 122.9
  },
  "luminance": 0.27466
}

Semantic roles & 50–950 ramp

primary
#7E9934
secondary
#8370B9
accent
#4FD974
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9934

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

Preview Lab → · Contrast checker → · Palette generator →

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