#7C9221#7C9221

#7C9221 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.2% C 0.136 H 120.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7C9221
RGBrgb(124, 146, 33)
HSLhsl(72, 63%, 35%)
HSVhsv(72, 77%, 57%)
CMYKcmyk(15.1%, 0%, 77.4%, 42.7%)
CIE-LABlab(57.03, -23.12, 53.07)
CIE-LCHlch(57.03, 57.88, 113.54°)
OKLaboklab(62.17% -0.0686 0.117)
OKLCHoklch(62.17% 0.136 120.4)
XYZxyz(18.8659, 24.9527, 5.2610)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9221 #372192
analogous
#926F21 #7C9221 #449221
triadic
#7C9221 #217C92 #92217C
tetradic
#7C9221 #21926F #372192 #922144
square
#7C9221 #21926F #372192 #922144
split-complementary
#7C9221 #214492 #6F2192
monochromatic
#272E0A #526016 #7C9221 #A6C42C #BFD955

Accessibility & contrast

On white

3.51
#7C9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7C9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9221
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9221#FFFFFF#000000##000000
##7C92211.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#838A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9221;
/* rgb */ color: rgb(124, 146, 33);
/* oklch */ color: oklch(62.2% 0.136 120.4);
Tailwind
colors: {
  custom: {
    50: '#a5b266',
    500: '#7c9221',
    950: '#000000',
  },
}
SCSS
$custom: #7c9221;
$custom-light: #a5b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9221",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 71.681,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.1356,
    "h": 120.4
  },
  "luminance": 0.24953
}

Semantic roles & 50–950 ramp

primary
#7C9221
secondary
#6753BC
accent
#42E662
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9221

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

Preview Lab → · Contrast checker → · Palette generator →

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