#7A7016#7A7016

#7A7016 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.8% C 0.105 H 102.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A7016
RGBrgb(122, 112, 22)
HSLhsl(54, 69%, 28%)
HSVhsv(54, 82%, 48%)
CMYKcmyk(0%, 8.2%, 82%, 52.2%)
CIE-LABlab(46.69, -6.38, 47.21)
CIE-LCHlch(46.69, 47.64, 97.69°)
OKLaboklab(53.83% -0.023 0.1025)
OKLCHoklch(53.83% 0.105 102.6)
XYZxyz(13.9657, 15.7845, 3.0700)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7016 #16207A
analogous
#7A3E16 #7A7016 #527A16
triadic
#7A7016 #167A70 #70167A
tetradic
#7A7016 #167A3E #16207A #7A1652
square
#7A7016 #167A3E #16207A #7A1652
split-complementary
#7A7016 #16527A #3E167A
monochromatic
#1A1805 #46400D #7A7016 #AEA01F #DAC931

Accessibility & contrast

On white

5.05
#7A7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7016
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7016#FFFFFF#000000##FFFFFF
##7A70161.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7E711D
Tritanopia (blue-blind)
#84675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a7016;
/* rgb */ color: rgb(122, 112, 22);
/* oklch */ color: oklch(53.8% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a4985c',
    500: '#7a7016',
    950: '#000000',
  },
}
SCSS
$custom: #7a7016;
$custom-light: #a4985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7016",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 54,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.10504,
    "h": 102.6
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#7A7016
secondary
#3D48AF
accent
#4DEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A7016

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

Preview Lab → · Contrast checker → · Palette generator →

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