#7B7116#7B7116

#7B7116 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.106 H 102.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B7116
RGBrgb(123, 113, 22)
HSLhsl(54, 70%, 28%)
HSVhsv(54, 82%, 48%)
CMYKcmyk(0%, 8.1%, 82.1%, 51.8%)
CIE-LABlab(47.08, -6.46, 47.60)
CIE-LCHlch(47.08, 48.03, 97.73°)
OKLaboklab(54.16% -0.0233 0.1033)
OKLCHoklch(54.16% 0.106 102.7)
XYZxyz(14.2190, 16.0798, 3.1136)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7116 #16207B
analogous
#7B3E16 #7B7116 #527B16
triadic
#7B7116 #167B71 #71167B
tetradic
#7B7116 #167B3E #16207B #7B1652
square
#7B7116 #167B3E #16207B #7B1652
split-complementary
#7B7116 #16527B #3E167B
monochromatic
#1A1805 #47410D #7B7116 #AFA11F #DAC931

Accessibility & contrast

On white

4.98
#7B7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7116
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7116#FFFFFF#000000##FFFFFF
##7B71161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7F721D
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7116;
/* rgb */ color: rgb(123, 113, 22);
/* oklch */ color: oklch(54.2% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#a5995c',
    500: '#7b7116',
    950: '#000000',
  },
}
SCSS
$custom: #7b7116;
$custom-light: #a5995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7116",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 54.059,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.10587,
    "h": 102.7
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#7B7116
secondary
#3D48B0
accent
#4DEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B7116

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

Preview Lab → · Contrast checker → · Palette generator →

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