#7A7C16#7A7C16

#7A7C16 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.117 H 110.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A7C16
RGBrgb(122, 124, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 82%, 49%)
CMYKcmyk(1.6%, 0%, 82.3%, 51.4%)
CIE-LABlab(50.23, -13.01, 50.35)
CIE-LCHlch(50.23, 52.00, 104.49°)
OKLaboklab(56.65% -0.0415 0.1092)
OKLCHoklch(56.65% 0.117 110.8)
XYZxyz(15.3791, 18.6112, 3.5411)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7C16 #18167C
analogous
#7C4B16 #7A7C16 #477C16
triadic
#7A7C16 #167A7C #7C167A
tetradic
#7A7C16 #167C4B #18167C #7C1647
square
#7A7C16 #167C4B #18167C #7C1647
split-complementary
#7A7C16 #16477C #4B167C
monochromatic
#1A1A05 #47480D #7A7C16 #ADB01F #D7DB32

Accessibility & contrast

On white

4.45
#7A7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7C16
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7C16#FFFFFF#000000##000000
##7A7C161.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#83746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7c16;
/* rgb */ color: rgb(122, 124, 22);
/* oklch */ color: oklch(56.6% 0.117 110.8);
Tailwind
colors: {
  custom: {
    50: '#a4a15e',
    500: '#7a7c16',
    950: '#000000',
  },
}
SCSS
$custom: #7a7c16;
$custom-light: #a4a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7c16",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 61.176,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.11684,
    "h": 110.8
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#7A7C16
secondary
#3F3DB1
accent
#3BED3F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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