#7E9924#7E9924

#7E9924 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.142 H 122.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7E9924
RGBrgb(126, 153, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(17.6%, 0%, 76.5%, 40%)
CIE-LABlab(59.29, -25.59, 54.23)
CIE-LCHlch(59.29, 59.97, 115.26°)
OKLaboklab(64.04% -0.0752 0.1199)
OKLCHoklch(64.04% 0.142 122.1)
XYZxyz(20.3142, 27.3454, 5.8767)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9924 #3F2499
analogous
#997A24 #7E9924 #449924
triadic
#7E9924 #247E99 #99247E
tetradic
#7E9924 #24997A #3F2499 #992444
square
#7E9924 #24997A #3F2499 #992444
split-complementary
#7E9924 #244499 #7A2499
monochromatic
#2C360D #556718 #7E9924 #A7CB30 #BDD95E

Accessibility & contrast

On white

3.25
#7E9924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9924#FFFFFF#000000##000000
##7E99241.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9924;
/* rgb */ color: rgb(126, 153, 36);
/* oklch */ color: oklch(64.0% 0.142 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7e9924',
    950: '#000000',
  },
}
SCSS
$custom: #7e9924;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9924",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 73.846,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.14154,
    "h": 122.1
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#7E9924
secondary
#725BBE
accent
#43E568
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9924

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

Preview Lab → · Contrast checker → · Palette generator →

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