#7C9422#7C9422

#7C9422 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.137 H 121.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C9422
RGBrgb(124, 148, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 58%)
CMYKcmyk(16.2%, 0%, 77%, 42%)
CIE-LABlab(57.64, -24.07, 53.30)
CIE-LCHlch(57.64, 58.48, 114.30°)
OKLaboklab(62.66% -0.0711 0.1176)
OKLCHoklch(62.66% 0.137 121.2)
XYZxyz(19.1911, 25.5804, 5.4396)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9422 #3A2294
analogous
#947322 #7C9422 #439422
triadic
#7C9422 #227C94 #94227C
tetradic
#7C9422 #229473 #3A2294 #942243
square
#7C9422 #229473 #3A2294 #942243
split-complementary
#7C9422 #224394 #732294
monochromatic
#29300B #526217 #7C9422 #A6C62D #BDD958

Accessibility & contrast

On white

3.43
#7C9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7C9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9422
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9422#FFFFFF#000000##000000
##7C94221.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B06
Deuteranopia (green-blind)
#9A8B2D
Tritanopia (blue-blind)
#838C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9422;
/* rgb */ color: rgb(124, 148, 34);
/* oklch */ color: oklch(62.7% 0.137 121.2);
Tailwind
colors: {
  custom: {
    50: '#a5b367',
    500: '#7c9422',
    950: '#000000',
  },
}
SCSS
$custom: #7c9422;
$custom-light: #a5b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9422",
  "rgb": {
    "r": 124,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 72.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.13746,
    "h": 121.2
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#7C9422
secondary
#6B55BD
accent
#42E665
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9422

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

Preview Lab → · Contrast checker → · Palette generator →

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