#7E9724#7E9724

#7E9724 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.139 H 121.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9724
RGBrgb(126, 151, 36)
HSLhsl(73, 61%, 37%)
HSVhsv(73, 76%, 59%)
CMYKcmyk(16.6%, 0%, 76.2%, 40.8%)
CIE-LABlab(58.69, -24.61, 53.66)
CIE-LCHlch(58.69, 59.04, 114.63°)
OKLaboklab(63.55% -0.0725 0.1187)
OKLCHoklch(63.55% 0.139 121.4)
XYZxyz(19.9896, 26.6962, 5.7685)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9724 #3D2497
analogous
#977724 #7E9724 #459724
triadic
#7E9724 #247E97 #97247E
tetradic
#7E9724 #249777 #3D2497 #972445
square
#7E9724 #249777 #3D2497 #972445
split-complementary
#7E9724 #244597 #772497
monochromatic
#2C340C #556618 #7E9724 #A7C830 #BED85D

Accessibility & contrast

On white

3.31
#7E9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9724
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9724#FFFFFF#000000##000000
##7E97241.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E09
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9724;
/* rgb */ color: rgb(126, 151, 36);
/* oklch */ color: oklch(63.6% 0.139 121.4);
Tailwind
colors: {
  custom: {
    50: '#a7b568',
    500: '#7e9724',
    950: '#000000',
  },
}
SCSS
$custom: #7e9724;
$custom-light: #a7b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9724",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 73.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.13911,
    "h": 121.4
  },
  "luminance": 0.26696
}

Semantic roles & 50–950 ramp

primary
#7E9724
secondary
#6F5ABD
accent
#43E566
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9724

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

Preview Lab → · Contrast checker → · Palette generator →

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