#7A8016#7A8016

#7A8016 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.121 H 113.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A8016
RGBrgb(122, 128, 22)
HSLhsl(63, 71%, 29%)
HSVhsv(63, 83%, 50%)
CMYKcmyk(4.7%, 0%, 82.8%, 49.8%)
CIE-LABlab(51.42, -15.16, 51.40)
CIE-LCHlch(51.42, 53.58, 106.44°)
OKLaboklab(57.6% -0.0474 0.1115)
OKLCHoklch(57.6% 0.121 113.1)
XYZxyz(15.8906, 19.6342, 3.7116)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8016 #1C1680
analogous
#805116 #7A8016 #458016
triadic
#7A8016 #167A80 #80167A
tetradic
#7A8016 #168051 #1C1680 #801645
square
#7A8016 #168051 #1C1680 #801645
split-complementary
#7A8016 #164580 #511680
monochromatic
#191A04 #484C0D #7A8016 #ACB41F #D3DC34

Accessibility & contrast

On white

4.26
#7A8016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8016
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8016#FFFFFF#000000##000000
##7A80161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C20
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a8016;
/* rgb */ color: rgb(122, 128, 22);
/* oklch */ color: oklch(57.6% 0.121 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a45f',
    500: '#7a8016',
    950: '#000000',
  },
}
SCSS
$custom: #7a8016;
$custom-light: #a4a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8016",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 63.396,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.12115,
    "h": 113.1
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#7A8016
secondary
#443DB5
accent
#3AED44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8016

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

Preview Lab → · Contrast checker → · Palette generator →

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