#7A8616#7A8616

#7A8616 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.128 H 116.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A8616
RGBrgb(122, 134, 22)
HSLhsl(66, 72%, 31%)
HSVhsv(66, 84%, 53%)
CMYKcmyk(9%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.22, -18.33, 52.96)
CIE-LCHlch(53.22, 56.05, 109.09°)
OKLaboklab(59.05% -0.0562 0.1149)
OKLCHoklch(59.05% 0.128 116.1)
XYZxyz(16.6964, 21.2460, 3.9802)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8616 #221686
analogous
#865A16 #7A8616 #428616
triadic
#7A8616 #167A86 #86167A
tetradic
#7A8616 #16865A #221686 #861642
square
#7A8616 #16865A #221686 #861642
split-complementary
#7A8616 #164286 #5A1686
monochromatic
#1A1D05 #4A510D #7A8616 #AABB1F #CDDE38

Accessibility & contrast

On white

4.00
#7A8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8616
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8616#FFFFFF#000000##000000
##7A86161.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a8616;
/* rgb */ color: rgb(122, 134, 22);
/* oklch */ color: oklch(59.0% 0.128 116.1);
Tailwind
colors: {
  custom: {
    50: '#a4a960',
    500: '#7a8616',
    950: '#000000',
  },
}
SCSS
$custom: #7a8616;
$custom-light: #a4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8616",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 66.429,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.12785,
    "h": 116.1
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#7A8616
secondary
#4B3EBA
accent
#39EF4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8616

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

Preview Lab → · Contrast checker → · Palette generator →

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