#7A9617#7A9617

#7A9617 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.9% C 0.146 H 122.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7A9617
RGBrgb(122, 150, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 85%, 59%)
CMYKcmyk(18.7%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.05, -26.37, 56.89)
CIE-LCHlch(58.05, 62.71, 114.87°)
OKLaboklab(62.94% -0.0781 0.1235)
OKLCHoklch(62.94% 0.146 122.3)
XYZxyz(19.0874, 26.0121, 4.8257)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9617 #331796
analogous
#967317 #7A9617 #3B9617
triadic
#7A9617 #177A96 #96177A
tetradic
#7A9617 #179673 #331796 #96173B
square
#7A9617 #179673 #331796 #96173B
split-complementary
#7A9617 #173B96 #731796
monochromatic
#242C07 #4F610F #7A9617 #A5CB1F #C0E245

Accessibility & contrast

On white

3.39
#7A9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7A9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9617
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9617#FFFFFF#000000##000000
##7A96171.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#818E80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9617;
/* rgb */ color: rgb(122, 150, 23);
/* oklch */ color: oklch(62.9% 0.146 122.3);
Tailwind
colors: {
  custom: {
    50: '#a4b562',
    500: '#7a9617',
    950: '#000000',
  },
}
SCSS
$custom: #7a9617;
$custom-light: #a4b562;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9617",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 73.228,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6294,
    "c": 0.14608,
    "h": 122.3
  },
  "luminance": 0.26012
}

Semantic roles & 50–950 ramp

primary
#7A9617
secondary
#6145C3
accent
#38F060
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9617

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

Preview Lab → · Contrast checker → · Palette generator →

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