#7A7B16#7A7B16

#7A7B16 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.116 H 110.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A7B16
RGBrgb(122, 123, 22)
HSLhsl(61, 70%, 28%)
HSVhsv(61, 82%, 48%)
CMYKcmyk(0.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(49.93, -12.47, 50.09)
CIE-LCHlch(49.93, 51.62, 103.98°)
OKLaboklab(56.41% -0.04 0.1087)
OKLCHoklch(56.41% 0.116 110.2)
XYZxyz(15.2544, 18.3619, 3.4995)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B16 #17167B
analogous
#7B4916 #7A7B16 #477B16
triadic
#7A7B16 #167A7B #7B167A
tetradic
#7A7B16 #167B49 #17167B #7B1647
square
#7A7B16 #167B49 #17167B #7B1647
split-complementary
#7A7B16 #16477B #49167B
monochromatic
#1A1A05 #47470D #7A7B16 #ADAF1F #D9DA31

Accessibility & contrast

On white

4.49
#7A7B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7A7B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B16
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B16#FFFFFF#000000##000000
##7A7B161.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b16;
/* rgb */ color: rgb(122, 123, 22);
/* oklch */ color: oklch(56.4% 0.116 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a05e',
    500: '#7a7b16',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b16;
$custom-light: #a4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b16",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 60.594,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.11579,
    "h": 110.2
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#7A7B16
secondary
#3E3DB0
accent
#3BEC3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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