#7A8516#7A8516

#7A8516 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.127 H 115.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7A8516
RGBrgb(122, 133, 22)
HSLhsl(66, 72%, 30%)
HSVhsv(66, 83%, 52%)
CMYKcmyk(8.3%, 0%, 83.5%, 47.8%)
CIE-LABlab(52.92, -17.80, 52.70)
CIE-LCHlch(52.92, 55.63, 108.67°)
OKLaboklab(58.8% -0.0547 0.1143)
OKLCHoklch(58.8% 0.127 115.6)
XYZxyz(16.5589, 20.9708, 3.9344)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8516 #211685
analogous
#855816 #7A8516 #428516
triadic
#7A8516 #167A85 #85167A
tetradic
#7A8516 #168558 #211685 #851642
square
#7A8516 #168558 #211685 #851642
split-complementary
#7A8516 #164285 #581685
monochromatic
#1A1C05 #4A500D #7A8516 #AABA1F #CDDE37

Accessibility & contrast

On white

4.04
#7A8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7A8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8516
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8516#FFFFFF#000000##000000
##7A85161.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#827D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8516;
/* rgb */ color: rgb(122, 133, 22);
/* oklch */ color: oklch(58.8% 0.127 115.6);
Tailwind
colors: {
  custom: {
    50: '#a4a85f',
    500: '#7a8516',
    950: '#000000',
  },
}
SCSS
$custom: #7a8516;
$custom-light: #a4a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8516",
  "rgb": {
    "r": 122,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 65.946,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.12671,
    "h": 115.6
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#7A8516
secondary
#4A3EB9
accent
#39EE4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8516

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

Preview Lab → · Contrast checker → · Palette generator →

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