#7D9926#7D9926

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

Color values

HEX#7D9926
RGBrgb(125, 153, 38)
HSLhsl(75, 60%, 37%)
HSVhsv(75, 75%, 60%)
CMYKcmyk(18.3%, 0%, 75.2%, 40%)
CIE-LABlab(59.23, -25.91, 53.46)
CIE-LCHlch(59.23, 59.41, 115.86°)
OKLaboklab(63.98% -0.0759 0.1186)
OKLCHoklch(63.98% 0.141 122.6)
XYZxyz(20.1988, 27.2823, 6.0352)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9926 #422699
analogous
#997C26 #7D9926 #439926
triadic
#7D9926 #267D99 #99267D
tetradic
#7D9926 #26997C #422699 #992643
square
#7D9926 #26997C #422699 #992643
split-complementary
#7D9926 #264399 #7C2699
monochromatic
#2D370E #55681A #7D9926 #A5CA32 #BBD862

Accessibility & contrast

On white

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

On black

6.46
#7D9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9926
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9926#FFFFFF#000000##000000
##7D99261.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0E
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9926;
/* rgb */ color: rgb(125, 153, 38);
/* oklch */ color: oklch(64.0% 0.141 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b769',
    500: '#7d9926',
    950: '#000000',
  },
}
SCSS
$custom: #7d9926;
$custom-light: #a6b769;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9926",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 74.609,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.14084,
    "h": 122.6
  },
  "luminance": 0.27282
}

Semantic roles & 50–950 ramp

primary
#7D9926
secondary
#755EBD
accent
#44E36B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9926

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

Preview Lab → · Contrast checker → · Palette generator →

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