#7B7C16#7B7C16

#7B7C16 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.117 H 110.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B7C16
RGBrgb(123, 124, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 82%, 49%)
CMYKcmyk(0.8%, 0%, 82.3%, 51.4%)
CIE-LABlab(50.32, -12.55, 50.46)
CIE-LCHlch(50.32, 52.00, 103.97°)
OKLaboklab(56.74% -0.0402 0.1094)
OKLCHoklch(56.74% 0.117 110.2)
XYZxyz(15.5214, 18.6846, 3.5478)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C16 #17167C
analogous
#7C4A16 #7B7C16 #487C16
triadic
#7B7C16 #167B7C #7C167B
tetradic
#7B7C16 #167C4A #17167C #7C1648
square
#7B7C16 #167C4A #17167C #7C1648
split-complementary
#7B7C16 #16487C #4A167C
monochromatic
#1A1A05 #47480D #7B7C16 #AFB01F #D9DB32

Accessibility & contrast

On white

4.43
#7B7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C16
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C16#FFFFFF#000000##000000
##7B7C161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#84746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c16;
/* rgb */ color: rgb(123, 124, 22);
/* oklch */ color: oklch(56.7% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a15e',
    500: '#7b7c16',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c16;
$custom-light: #a5a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c16",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 60.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.1166,
    "h": 110.2
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#7B7C16
secondary
#3E3DB1
accent
#3BED3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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