#7C9928#7C9928

#7C9928 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.140 H 123.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7C9928
RGBrgb(124, 153, 40)
HSLhsl(75, 59%, 38%)
HSVhsv(75, 74%, 60%)
CMYKcmyk(19%, 0%, 73.9%, 40%)
CIE-LABlab(59.18, -26.22, 52.66)
CIE-LCHlch(59.18, 58.83, 116.47°)
OKLaboklab(63.92% -0.0765 0.1173)
OKLCHoklch(63.92% 0.14 123.1)
XYZxyz(20.0867, 27.2206, 6.2030)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9928 #452899
analogous
#997D28 #7C9928 #449928
triadic
#7C9928 #287C99 #99287C
tetradic
#7C9928 #28997D #452899 #992844
square
#7C9928 #28997D #452899 #992844
split-complementary
#7C9928 #284499 #7D2899
monochromatic
#2D380F #55681B #7C9928 #A3CA35 #B9D765

Accessibility & contrast

On white

3.26
#7C9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7C9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9928
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9928#FFFFFF#000000##000000
##7C99281.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#829183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9928;
/* rgb */ color: rgb(124, 153, 40);
/* oklch */ color: oklch(63.9% 0.140 123.1);
Tailwind
colors: {
  custom: {
    50: '#a5b76a',
    500: '#7c9928',
    950: '#000000',
  },
}
SCSS
$custom: #7c9928;
$custom-light: #a5b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9928",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 75.398,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.14006,
    "h": 123.1
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#7C9928
secondary
#7860BD
accent
#46E26E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9928

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

Preview Lab → · Contrast checker → · Palette generator →

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