#7D9726#7D9726

#7D9726 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.138 H 121.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7D9726
RGBrgb(125, 151, 38)
HSLhsl(74, 60%, 37%)
HSVhsv(74, 75%, 59%)
CMYKcmyk(17.2%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.63, -24.92, 52.88)
CIE-LCHlch(58.63, 58.46, 115.24°)
OKLaboklab(63.49% -0.0732 0.1174)
OKLCHoklch(63.49% 0.138 121.9)
XYZxyz(19.8742, 26.6331, 5.9270)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9726 #402697
analogous
#977826 #7D9726 #459726
triadic
#7D9726 #267D97 #97267D
tetradic
#7D9726 #269778 #402697 #972645
square
#7D9726 #269778 #402697 #972645
split-complementary
#7D9726 #264597 #782697
monochromatic
#2C350D #55661A #7D9726 #A5C832 #BCD760

Accessibility & contrast

On white

3.32
#7D9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7D9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9726
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9726#FFFFFF#000000##000000
##7D97261.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0F
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#848F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d9726;
/* rgb */ color: rgb(125, 151, 38);
/* oklch */ color: oklch(63.5% 0.138 121.9);
Tailwind
colors: {
  custom: {
    50: '#a6b569',
    500: '#7d9726',
    950: '#000000',
  },
}
SCSS
$custom: #7d9726;
$custom-light: #a6b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9726",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 73.805,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.13836,
    "h": 121.9
  },
  "luminance": 0.26633
}

Semantic roles & 50–950 ramp

primary
#7D9726
secondary
#735CBC
accent
#45E369
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9726

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

Preview Lab → · Contrast checker → · Palette generator →

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