#7D9824#7D9824

#7D9824 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.141 H 122.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D9824
RGBrgb(125, 152, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(17.8%, 0%, 76.3%, 40.4%)
CIE-LABlab(58.92, -25.52, 53.86)
CIE-LCHlch(58.92, 59.60, 115.36°)
OKLaboklab(63.72% -0.075 0.1191)
OKLCHoklch(63.72% 0.141 122.2)
XYZxyz(20.0044, 26.9438, 5.8155)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9824 #3F2498
analogous
#987924 #7D9824 #439824
triadic
#7D9824 #247D98 #98247D
tetradic
#7D9824 #249879 #3F2498 #982443
square
#7D9824 #249879 #3F2498 #982443
split-complementary
#7D9824 #244398 #792498
monochromatic
#2C350D #546718 #7D9824 #A6C930 #BCD95E

Accessibility & contrast

On white

3.29
#7D9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#7D9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9824
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9824#FFFFFF#000000##000000
##7D98241.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E09
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9824;
/* rgb */ color: rgb(125, 152, 36);
/* oklch */ color: oklch(63.7% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b668',
    500: '#7d9824',
    950: '#000000',
  },
}
SCSS
$custom: #7d9824;
$custom-light: #a6b668;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9824",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 73.966,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.14077,
    "h": 122.2
  },
  "luminance": 0.26944
}

Semantic roles & 50–950 ramp

primary
#7D9824
secondary
#715ABE
accent
#43E569
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9824

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

Preview Lab → · Contrast checker → · Palette generator →

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