#7B7816#7B7816

#7B7816 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 107.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B7816
RGBrgb(123, 120, 22)
HSLhsl(58, 70%, 28%)
HSVhsv(58, 82%, 48%)
CMYKcmyk(0%, 2.4%, 82.1%, 51.8%)
CIE-LABlab(49.13, -10.36, 49.42)
CIE-LCHlch(49.13, 50.49, 101.84°)
OKLaboklab(55.79% -0.0342 0.1072)
OKLCHoklch(55.79% 0.113 107.7)
XYZxyz(15.0303, 17.7023, 3.3841)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7816 #16197B
analogous
#7B4516 #7B7816 #4B7B16
triadic
#7B7816 #167B78 #78167B
tetradic
#7B7816 #167B45 #16197B #7B164B
square
#7B7816 #167B45 #16197B #7B164B
split-complementary
#7B7816 #164B7B #45167B
monochromatic
#1A1905 #47450D #7B7816 #AFAB1F #DAD531

Accessibility & contrast

On white

4.63
#7B7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7816
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7816#FFFFFF#000000##FFFFFF
##7B78161.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#856F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7816;
/* rgb */ color: rgb(123, 120, 22);
/* oklch */ color: oklch(55.8% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59e5d',
    500: '#7b7816',
    950: '#000000',
  },
}
SCSS
$custom: #7b7816;
$custom-light: #a59e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7816",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 58.218,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.1125,
    "h": 107.7
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#7B7816
secondary
#3D40B0
accent
#41EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7816

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

Preview Lab → · Contrast checker → · Palette generator →

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