#7B7B16#7B7B16

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

Color values

HEX#7B7B16
RGBrgb(123, 123, 22)
HSLhsl(60, 70%, 28%)
HSVhsv(60, 82%, 48%)
CMYKcmyk(0%, 0%, 82.1%, 51.8%)
CIE-LABlab(50.02, -12.01, 50.20)
CIE-LCHlch(50.02, 51.61, 103.45°)
OKLaboklab(56.5% -0.0387 0.1089)
OKLCHoklch(56.5% 0.116 109.6)
XYZxyz(15.3967, 18.4353, 3.5062)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7B16 #16167B
analogous
#7B4816 #7B7B16 #487B16
triadic
#7B7B16 #167B7B #7B167B
tetradic
#7B7B16 #167B48 #16167B #7B1648
square
#7B7B16 #167B48 #16167B #7B1648
split-complementary
#7B7B16 #16487B #48167B
monochromatic
#1A1A05 #47470D #7B7B16 #AFAF1F #DADA31

Accessibility & contrast

On white

4.48
#7B7B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B7B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7B16
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7B16#FFFFFF#000000##000000
##7B7B161.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7b16;
/* rgb */ color: rgb(123, 123, 22);
/* oklch */ color: oklch(56.5% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7b7b16',
    950: '#000000',
  },
}
SCSS
$custom: #7b7b16;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7b16",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.11556,
    "h": 109.6
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#7B7B16
secondary
#3D3DB0
accent
#3BEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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