#7A7A16#7A7A16

#7A7A16 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.115 H 109.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A7A16
RGBrgb(122, 122, 22)
HSLhsl(60, 69%, 28%)
HSVhsv(60, 82%, 48%)
CMYKcmyk(0%, 0%, 82%, 52.2%)
CIE-LABlab(49.64, -11.93, 49.83)
CIE-LCHlch(49.64, 51.23, 103.46°)
OKLaboklab(56.17% -0.0385 0.1081)
OKLCHoklch(56.17% 0.115 109.6)
XYZxyz(15.1310, 18.1150, 3.4584)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7A16 #16167A
analogous
#7A4816 #7A7A16 #487A16
triadic
#7A7A16 #167A7A #7A167A
tetradic
#7A7A16 #167A48 #16167A #7A1648
square
#7A7A16 #167A48 #16167A #7A1648
split-complementary
#7A7A16 #16487A #48167A
monochromatic
#1A1A05 #46460D #7A7A16 #AEAE1F #DADA31

Accessibility & contrast

On white

4.54
#7A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7A16
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7A16#FFFFFF#000000##000000
##7A7A161.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7a16;
/* rgb */ color: rgb(122, 122, 22);
/* oklch */ color: oklch(56.2% 0.115 109.6);
Tailwind
colors: {
  custom: {
    50: '#a4a05e',
    500: '#7a7a16',
    950: '#000000',
  },
}
SCSS
$custom: #7a7a16;
$custom-light: #a4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7a16",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.11475,
    "h": 109.6
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#7A7A16
secondary
#3D3DAF
accent
#3CEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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