#7C9722#7C9722

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

Color values

HEX#7C9722
RGBrgb(124, 151, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(17.9%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.54, -25.55, 54.15)
CIE-LCHlch(58.54, 59.87, 115.26°)
OKLaboklab(63.39% -0.0752 0.1194)
OKLCHoklch(63.39% 0.141 122.2)
XYZxyz(19.6678, 26.5337, 5.5984)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9722 #3D2297
analogous
#977822 #7C9722 #429722
triadic
#7C9722 #227C97 #97227C
tetradic
#7C9722 #229778 #3D2297 #972242
square
#7C9722 #229778 #3D2297 #972242
split-complementary
#7C9722 #224297 #782297
monochromatic
#2A330C #536517 #7C9722 #A5C92D #BCDA5A

Accessibility & contrast

On white

3.33
#7C9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#7C9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9722
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9722#FFFFFF#000000##000000
##7C97221.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9722;
/* rgb */ color: rgb(124, 151, 34);
/* oklch */ color: oklch(63.4% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7c9722',
    950: '#000000',
  },
}
SCSS
$custom: #7c9722;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9722",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 73.846,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.14113,
    "h": 122.2
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

primary
#7C9722
secondary
#6F57BE
accent
#42E668
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9722

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

Preview Lab → · Contrast checker → · Palette generator →

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