#7D9924#7D9924

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

Color values

HEX#7D9924
RGBrgb(125, 153, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(18.3%, 0%, 76.5%, 40%)
CIE-LABlab(59.22, -26.02, 54.14)
CIE-LCHlch(59.22, 60.07, 115.66°)
OKLaboklab(63.96% -0.0763 0.1197)
OKLCHoklch(63.96% 0.142 122.5)
XYZxyz(20.1674, 27.2697, 5.8698)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9924 #402499
analogous
#997B24 #7D9924 #439924
triadic
#7D9924 #247D99 #99247D
tetradic
#7D9924 #24997B #402499 #992443
square
#7D9924 #24997B #402499 #992443
split-complementary
#7D9924 #244399 #7B2499
monochromatic
#2C360D #556718 #7D9924 #A5CB30 #BCD95E

Accessibility & contrast

On white

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

On black

6.45
#7D9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9924
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9924#FFFFFF#000000##000000
##7D99241.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9924;
/* rgb */ color: rgb(125, 153, 36);
/* oklch */ color: oklch(64.0% 0.142 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b768',
    500: '#7d9924',
    950: '#000000',
  },
}
SCSS
$custom: #7d9924;
$custom-light: #a6b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9924",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 74.359,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.142,
    "h": 122.5
  },
  "luminance": 0.2727
}

Semantic roles & 50–950 ramp

primary
#7D9924
secondary
#735BBE
accent
#43E56A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9924

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

Preview Lab → · Contrast checker → · Palette generator →

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