#7B6D16#7B6D16

#7B6D16 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.102 H 99.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7B6D16
RGBrgb(123, 109, 22)
HSLhsl(52, 70%, 28%)
HSVhsv(52, 82%, 48%)
CMYKcmyk(0%, 11.4%, 82.1%, 51.8%)
CIE-LABlab(45.92, -4.20, 46.56)
CIE-LCHlch(45.92, 46.75, 95.15°)
OKLaboklab(53.24% -0.0169 0.1011)
OKLCHoklch(53.24% 0.102 99.5)
XYZxyz(13.7825, 15.2069, 2.9681)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6D16 #16247B
analogous
#7B3A16 #7B6D16 #567B16
triadic
#7B6D16 #167B6D #6D167B
tetradic
#7B6D16 #167B3A #16247B #7B1656
square
#7B6D16 #167B3A #16247B #7B1656
split-complementary
#7B6D16 #16567B #3A167B
monochromatic
#1A1705 #473F0D #7B6D16 #AF9B1F #DAC331

Accessibility & contrast

On white

5.20
#7B6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6D16
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6D16#FFFFFF#000000##FFFFFF
##7B6D161.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#85645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6d16;
/* rgb */ color: rgb(123, 109, 22);
/* oklch */ color: oklch(53.2% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#a5965c',
    500: '#7b6d16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6d16;
$custom-light: #a5965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6d16",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 51.683,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.10245,
    "h": 99.5
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#7B6D16
secondary
#3D4DB0
accent
#54EC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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