#7C9824#7C9824

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

Color values

HEX#7C9824
RGBrgb(124, 152, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(18.4%, 0%, 76.3%, 40.4%)
CIE-LABlab(58.85, -25.95, 53.77)
CIE-LCHlch(58.85, 59.70, 115.76°)
OKLaboklab(63.65% -0.0761 0.119)
OKLCHoklch(63.65% 0.141 122.6)
XYZxyz(19.8591, 26.8689, 5.8087)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9824 #402498
analogous
#987A24 #7C9824 #429824
triadic
#7C9824 #247C98 #98247C
tetradic
#7C9824 #24987A #402498 #982442
square
#7C9824 #24987A #402498 #982442
split-complementary
#7C9824 #244298 #7A2498
monochromatic
#2B350D #546718 #7C9824 #A4C930 #BBD95E

Accessibility & contrast

On white

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

On black

6.37
#7C9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9824
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9824#FFFFFF#000000##000000
##7C98241.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9824;
/* rgb */ color: rgb(124, 152, 36);
/* oklch */ color: oklch(63.6% 0.141 122.6);
Tailwind
colors: {
  custom: {
    50: '#a5b668',
    500: '#7c9824',
    950: '#000000',
  },
}
SCSS
$custom: #7c9824;
$custom-light: #a5b668;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9824",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 74.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63645,
    "c": 0.14122,
    "h": 122.6
  },
  "luminance": 0.26869
}

Semantic roles & 50–950 ramp

primary
#7C9824
secondary
#725ABE
accent
#43E56A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9824

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

Preview Lab → · Contrast checker → · Palette generator →

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