#7E9928#7E9928

#7E9928 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.139 H 122.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7E9928
RGBrgb(126, 153, 40)
HSLhsl(74, 59%, 38%)
HSVhsv(74, 74%, 60%)
CMYKcmyk(17.6%, 0%, 73.9%, 40%)
CIE-LABlab(59.32, -25.38, 52.84)
CIE-LCHlch(59.32, 58.62, 115.65°)
OKLaboklab(64.06% -0.0743 0.1177)
OKLCHoklch(64.06% 0.139 122.3)
XYZxyz(20.3787, 27.3712, 6.2167)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9928 #432899
analogous
#997B28 #7E9928 #469928
triadic
#7E9928 #287E99 #99287E
tetradic
#7E9928 #28997B #432899 #992846
square
#7E9928 #28997B #432899 #992846
split-complementary
#7E9928 #284699 #7B2899
monochromatic
#2E380F #56681B #7E9928 #A6CA35 #BBD765

Accessibility & contrast

On white

3.24
#7E9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7E9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9928
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9928#FFFFFF#000000##000000
##7E99281.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9928;
/* rgb */ color: rgb(126, 153, 40);
/* oklch */ color: oklch(64.1% 0.139 122.3);
Tailwind
colors: {
  custom: {
    50: '#a7b76a',
    500: '#7e9928',
    950: '#000000',
  },
}
SCSS
$custom: #7e9928;
$custom-light: #a7b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9928",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 74.336,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64063,
    "c": 0.13915,
    "h": 122.3
  },
  "luminance": 0.27371
}

Semantic roles & 50–950 ramp

primary
#7E9928
secondary
#7660BD
accent
#46E26B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9928

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

Preview Lab → · Contrast checker → · Palette generator →

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