#7D9522#7D9522

#7D9522 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.138 H 121.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D9522
RGBrgb(125, 149, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 58%)
CMYKcmyk(16.1%, 0%, 77.2%, 41.6%)
CIE-LABlab(58.01, -24.14, 53.67)
CIE-LCHlch(58.01, 58.85, 114.21°)
OKLaboklab(62.98% -0.0714 0.1184)
OKLCHoklch(62.98% 0.138 121.1)
XYZxyz(19.4940, 25.9704, 5.4989)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9522 #3A2295
analogous
#957322 #7D9522 #439522
triadic
#7D9522 #227D95 #95227D
tetradic
#7D9522 #229573 #3A2295 #952243
square
#7D9522 #229573 #3A2295 #952243
split-complementary
#7D9522 #224395 #732295
monochromatic
#29310B #536317 #7D9522 #A7C72D #BED958

Accessibility & contrast

On white

3.39
#7D9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9522
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9522#FFFFFF#000000##000000
##7D95221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C05
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#848D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9522;
/* rgb */ color: rgb(125, 149, 34);
/* oklch */ color: oklch(63.0% 0.138 121.1);
Tailwind
colors: {
  custom: {
    50: '#a6b467',
    500: '#7d9522',
    950: '#000000',
  },
}
SCSS
$custom: #7d9522;
$custom-light: #a6b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9522",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 72.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.13824,
    "h": 121.1
  },
  "luminance": 0.2597
}

Semantic roles & 50–950 ramp

primary
#7D9522
secondary
#6B56BD
accent
#42E664
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9522

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

Preview Lab → · Contrast checker → · Palette generator →

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