#7A8716#7A8716

#7A8716 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.129 H 116.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7A8716
RGBrgb(122, 135, 22)
HSLhsl(67, 72%, 31%)
HSVhsv(67, 84%, 53%)
CMYKcmyk(9.6%, 0%, 83.7%, 47.1%)
CIE-LABlab(53.52, -18.85, 53.23)
CIE-LCHlch(53.52, 56.46, 109.50°)
OKLaboklab(59.29% -0.0576 0.1154)
OKLCHoklch(59.29% 0.129 116.5)
XYZxyz(16.8353, 21.5237, 4.0265)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8716 #231687
analogous
#875B16 #7A8716 #418716
triadic
#7A8716 #167A87 #87167A
tetradic
#7A8716 #16875B #231687 #871641
square
#7A8716 #16875B #231687 #871641
split-complementary
#7A8716 #164187 #5B1687
monochromatic
#1B1E05 #4A520D #7A8716 #AABC1F #CCDF39

Accessibility & contrast

On white

3.96
#7A8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7A8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8716
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8716#FFFFFF#000000##000000
##7A87161.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#827F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8716;
/* rgb */ color: rgb(122, 135, 22);
/* oklch */ color: oklch(59.3% 0.129 116.5);
Tailwind
colors: {
  custom: {
    50: '#a4a960',
    500: '#7a8716',
    950: '#000000',
  },
}
SCSS
$custom: #7a8716;
$custom-light: #a4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8716",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 66.903,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.12898,
    "h": 116.5
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#7A8716
secondary
#4C3EBB
accent
#39EF4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8716

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

Preview Lab → · Contrast checker → · Palette generator →

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