#7A8816#7A8816

#7A8816 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.130 H 117.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A8816
RGBrgb(122, 136, 22)
HSLhsl(67, 72%, 31%)
HSVhsv(67, 84%, 53%)
CMYKcmyk(10.3%, 0%, 83.8%, 46.7%)
CIE-LABlab(53.82, -19.36, 53.49)
CIE-LCHlch(53.82, 56.88, 109.90°)
OKLaboklab(59.53% -0.059 0.116)
OKLCHoklch(59.53% 0.13 117)
XYZxyz(16.9755, 21.8040, 4.0732)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8816 #241688
analogous
#885D16 #7A8816 #418816
triadic
#7A8816 #167A88 #88167A
tetradic
#7A8816 #16885D #241688 #881641
square
#7A8816 #16885D #241688 #881641
split-complementary
#7A8816 #164188 #5D1688
monochromatic
#1B1F05 #4B530D #7A8816 #A9BD1F #CBDF39

Accessibility & contrast

On white

3.92
#7A8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8816
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8816#FFFFFF#000000##000000
##7A88161.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8816;
/* rgb */ color: rgb(122, 136, 22);
/* oklch */ color: oklch(59.5% 0.130 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa60',
    500: '#7a8816',
    950: '#000000',
  },
}
SCSS
$custom: #7a8816;
$custom-light: #a4aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8816",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 67.368,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.13012,
    "h": 117
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#7A8816
secondary
#4D3EBC
accent
#39EF4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8816

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

Preview Lab → · Contrast checker → · Palette generator →

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