#7C9622#7C9622

#7C9622 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.140 H 121.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7C9622
RGBrgb(124, 150, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 59%)
CMYKcmyk(17.3%, 0%, 77.3%, 41.2%)
CIE-LABlab(58.24, -25.06, 53.87)
CIE-LCHlch(58.24, 59.41, 114.95°)
OKLaboklab(63.15% -0.0738 0.1188)
OKLCHoklch(63.15% 0.14 121.9)
XYZxyz(19.5076, 26.2132, 5.5450)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9622 #3C2296
analogous
#967622 #7C9622 #429622
triadic
#7C9622 #227C96 #96227C
tetradic
#7C9622 #229676 #3C2296 #962242
square
#7C9622 #229676 #3C2296 #962242
split-complementary
#7C9622 #224296 #762296
monochromatic
#2A320B #536417 #7C9622 #A5C82D #BDD959

Accessibility & contrast

On white

3.36
#7C9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7C9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9622
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9622#FFFFFF#000000##000000
##7C96221.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D05
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#838E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c9622;
/* rgb */ color: rgb(124, 150, 34);
/* oklch */ color: oklch(63.1% 0.140 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b467',
    500: '#7c9622',
    950: '#000000',
  },
}
SCSS
$custom: #7c9622;
$custom-light: #a5b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9622",
  "rgb": {
    "r": 124,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 73.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.1399,
    "h": 121.9
  },
  "luminance": 0.26213
}

Semantic roles & 50–950 ramp

primary
#7C9622
secondary
#6D56BE
accent
#42E667
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9622

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

Preview Lab → · Contrast checker → · Palette generator →

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