#7D9524#7D9524

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

Color values

HEX#7D9524
RGBrgb(125, 149, 36)
HSLhsl(73, 61%, 36%)
HSVhsv(73, 76%, 58%)
CMYKcmyk(16.1%, 0%, 75.8%, 41.6%)
CIE-LABlab(58.02, -24.04, 53.00)
CIE-LCHlch(58.02, 58.20, 114.40°)
OKLaboklab(62.99% -0.0709 0.1173)
OKLCHoklch(62.99% 0.137 121.1)
XYZxyz(19.5237, 25.9823, 5.6553)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9524 #3C2495
analogous
#957524 #7D9524 #459524
triadic
#7D9524 #247D95 #95247D
tetradic
#7D9524 #249575 #3C2495 #952445
square
#7D9524 #249575 #3C2495 #952445
split-complementary
#7D9524 #244595 #752495
monochromatic
#2A320C #546418 #7D9524 #A6C630 #BDD85C

Accessibility & contrast

On white

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

On black

6.20
#7D9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9524
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9524#FFFFFF#000000##000000
##7D95241.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0B
Deuteranopia (green-blind)
#9B8C2E
Tritanopia (blue-blind)
#848D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9524;
/* rgb */ color: rgb(125, 149, 36);
/* oklch */ color: oklch(63.0% 0.137 121.1);
Tailwind
colors: {
  custom: {
    50: '#a6b468',
    500: '#7d9524',
    950: '#000000',
  },
}
SCSS
$custom: #7d9524;
$custom-light: #a6b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9524",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 72.743,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62991,
    "c": 0.13709,
    "h": 121.1
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#7D9524
secondary
#6E59BC
accent
#44E466
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9524

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

Preview Lab → · Contrast checker → · Palette generator →

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