#7A9517#7A9517

#7A9517 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.145 H 122.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A9517
RGBrgb(122, 149, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 85%, 58%)
CMYKcmyk(18.1%, 0%, 84.6%, 41.6%)
CIE-LABlab(57.75, -25.88, 56.63)
CIE-LCHlch(57.75, 62.26, 114.56°)
OKLaboklab(62.7% -0.0768 0.1229)
OKLCHoklch(62.7% 0.145 122)
XYZxyz(18.9285, 25.6943, 4.7727)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9517 #321795
analogous
#957117 #7A9517 #3B9517
triadic
#7A9517 #177A95 #95177A
tetradic
#7A9517 #179571 #321795 #95173B
square
#7A9517 #179571 #321795 #95173B
split-complementary
#7A9517 #173B95 #711795
monochromatic
#232B07 #4F600F #7A9517 #A5CA1F #C0E244

Accessibility & contrast

On white

3.42
#7A9517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7A9517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9517
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9517#FFFFFF#000000##000000
##7A95171.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9517;
/* rgb */ color: rgb(122, 149, 23);
/* oklch */ color: oklch(62.7% 0.145 122.0);
Tailwind
colors: {
  custom: {
    50: '#a4b462',
    500: '#7a9517',
    950: '#000000',
  },
}
SCSS
$custom: #7a9517;
$custom-light: #a4b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9517",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 72.857,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.1449,
    "h": 122
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#7A9517
secondary
#6045C3
accent
#38F05F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9517

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

Preview Lab → · Contrast checker → · Palette generator →

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