#7B7A16#7B7A16

#7B7A16 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B7A16
RGBrgb(123, 122, 22)
HSLhsl(59, 70%, 28%)
HSVhsv(59, 82%, 48%)
CMYKcmyk(0%, 0.8%, 82.1%, 51.8%)
CIE-LABlab(49.72, -11.46, 49.94)
CIE-LCHlch(49.72, 51.24, 102.92°)
OKLaboklab(56.27% -0.0372 0.1083)
OKLCHoklch(56.27% 0.115 109)
XYZxyz(15.2733, 18.1884, 3.4651)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A16 #16177B
analogous
#7B4716 #7B7A16 #497B16
triadic
#7B7A16 #167B7A #7A167B
tetradic
#7B7A16 #167B47 #16177B #7B1649
square
#7B7A16 #167B47 #16177B #7B1649
split-complementary
#7B7A16 #16497B #47167B
monochromatic
#1A1A05 #47470D #7B7A16 #AFAD1F #DAD931

Accessibility & contrast

On white

4.53
#7B7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7A16
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7A16#FFFFFF#000000##000000
##7B7A161.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#847268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7a16;
/* rgb */ color: rgb(123, 122, 22);
/* oklch */ color: oklch(56.3% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7b7a16',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a16;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a16",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 59.406,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.11453,
    "h": 109
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#7B7A16
secondary
#3D3EB0
accent
#3DEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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