#7C9922#7C9922

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

Color values

HEX#7C9922
RGBrgb(124, 153, 34)
HSLhsl(75, 64%, 37%)
HSVhsv(75, 78%, 60%)
CMYKcmyk(19%, 0%, 77.8%, 40%)
CIE-LABlab(59.14, -26.54, 54.71)
CIE-LCHlch(59.14, 60.81, 115.87°)
OKLaboklab(63.88% -0.0779 0.1206)
OKLCHoklch(63.88% 0.144 122.8)
XYZxyz(19.9924, 27.1830, 5.7066)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9922 #3F2299
analogous
#997B22 #7C9922 #419922
triadic
#7C9922 #227C99 #99227C
tetradic
#7C9922 #22997B #3F2299 #992241
square
#7C9922 #22997B #3F2299 #992241
split-complementary
#7C9922 #224199 #7B2299
monochromatic
#2B350C #536717 #7C9922 #A5CB2D #BBDB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9922#FFFFFF#000000##000000
##7C99221.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)
#A28F02
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#839183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9922;
/* rgb */ color: rgb(124, 153, 34);
/* oklch */ color: oklch(63.9% 0.144 122.8);
Tailwind
colors: {
  custom: {
    50: '#a5b767',
    500: '#7c9922',
    950: '#000000',
  },
}
SCSS
$custom: #7c9922;
$custom-light: #a5b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9922",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 74.622,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63876,
    "c": 0.14357,
    "h": 122.8
  },
  "luminance": 0.27183
}

Semantic roles & 50–950 ramp

primary
#7C9922
secondary
#7158BF
accent
#41E769
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9922

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

Preview Lab → · Contrast checker → · Palette generator →

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