#7D9722#7D9722

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

Color values

HEX#7D9722
RGBrgb(125, 151, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 59%)
CMYKcmyk(17.2%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.61, -25.13, 54.24)
CIE-LCHlch(58.61, 59.78, 114.86°)
OKLaboklab(63.46% -0.0741 0.1196)
OKLCHoklch(63.46% 0.141 121.8)
XYZxyz(19.8131, 26.6087, 5.6053)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9722 #3C2297
analogous
#977722 #7D9722 #439722
triadic
#7D9722 #227D97 #97227D
tetradic
#7D9722 #229777 #3C2297 #972243
square
#7D9722 #229777 #3C2297 #972243
split-complementary
#7D9722 #224397 #772297
monochromatic
#2A330C #546517 #7D9722 #A6C92D #BDDA5A

Accessibility & contrast

On white

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

On black

6.32
#7D9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9722
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9722#FFFFFF#000000##000000
##7D97221.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9722;
/* rgb */ color: rgb(125, 151, 34);
/* oklch */ color: oklch(63.5% 0.141 121.8);
Tailwind
colors: {
  custom: {
    50: '#a6b567',
    500: '#7d9722',
    950: '#000000',
  },
}
SCSS
$custom: #7d9722;
$custom-light: #a6b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9722",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 73.333,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63464,
    "c": 0.14068,
    "h": 121.8
  },
  "luminance": 0.26609
}

Semantic roles & 50–950 ramp

primary
#7D9722
secondary
#6E57BE
accent
#42E666
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9722

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

Preview Lab → · Contrast checker → · Palette generator →

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