#7E9729#7E9729

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

Color values

HEX#7E9729
RGBrgb(126, 151, 41)
HSLhsl(74, 57%, 38%)
HSVhsv(74, 73%, 59%)
CMYKcmyk(16.6%, 0%, 72.8%, 40.8%)
CIE-LABlab(58.72, -24.33, 51.89)
CIE-LCHlch(58.72, 57.31, 115.12°)
OKLaboklab(63.59% -0.0713 0.1158)
OKLCHoklch(63.59% 0.136 121.6)
XYZxyz(20.0713, 26.7289, 6.1992)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9729 #422997
analogous
#977929 #7E9729 #479729
triadic
#7E9729 #297E97 #97297E
tetradic
#7E9729 #299779 #422997 #972947
square
#7E9729 #299779 #422997 #972947
split-complementary
#7E9729 #294797 #792997
monochromatic
#2E370F #56671C #7E9729 #A6C736 #BCD565

Accessibility & contrast

On white

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

On black

6.35
#7E9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9729
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9729#FFFFFF#000000##000000
##7E97291.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E15
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#858F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9729;
/* rgb */ color: rgb(126, 151, 41);
/* oklch */ color: oklch(63.6% 0.136 121.6);
Tailwind
colors: {
  custom: {
    50: '#a6b56a',
    500: '#7e9729',
    950: '#000000',
  },
}
SCSS
$custom: #7e9729;
$custom-light: #a6b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9729",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 73.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.13603,
    "h": 121.6
  },
  "luminance": 0.26729
}

Semantic roles & 50–950 ramp

primary
#7E9729
secondary
#7561BB
accent
#47E16A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9729

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

Preview Lab → · Contrast checker → · Palette generator →

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