#7A9417#7A9417

#7A9417 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.144 H 121.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A9417
RGBrgb(122, 148, 23)
HSLhsl(72, 73%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(17.6%, 0%, 84.5%, 42%)
CIE-LABlab(57.44, -25.39, 56.37)
CIE-LCHlch(57.44, 61.82, 114.25°)
OKLaboklab(62.45% -0.0754 0.1223)
OKLCHoklch(62.45% 0.144 121.7)
XYZxyz(18.7709, 25.3792, 4.7202)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9417 #311794
analogous
#946F17 #7A9417 #3B9417
triadic
#7A9417 #177A94 #94177A
tetradic
#7A9417 #17946F #311794 #94173B
square
#7A9417 #17946F #311794 #94173B
split-complementary
#7A9417 #173B94 #6F1794
monochromatic
#232A07 #4E5F0F #7A9417 #A6C91F #C1E244

Accessibility & contrast

On white

3.46
#7A9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7A9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9417
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9417#FFFFFF#000000##000000
##7A94171.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8A00
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a9417;
/* rgb */ color: rgb(122, 148, 23);
/* oklch */ color: oklch(62.5% 0.144 121.7);
Tailwind
colors: {
  custom: {
    50: '#a4b362',
    500: '#7a9417',
    950: '#000000',
  },
}
SCSS
$custom: #7a9417;
$custom-light: #a4b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9417",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 72.48,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.14371,
    "h": 121.7
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#7A9417
secondary
#5E44C3
accent
#38F05E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9417

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

Preview Lab → · Contrast checker → · Palette generator →

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