#7B6916#7B6916

#7B6916 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.3% C 0.099 H 96.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B6916
RGBrgb(123, 105, 22)
HSLhsl(49, 70%, 28%)
HSVhsv(49, 82%, 48%)
CMYKcmyk(0%, 14.6%, 82.1%, 51.8%)
CIE-LABlab(44.76, -1.90, 45.53)
CIE-LCHlch(44.76, 45.57, 92.39°)
OKLaboklab(52.32% -0.0104 0.0988)
OKLCHoklch(52.32% 0.099 96)
XYZxyz(13.3655, 14.3728, 2.8291)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6916 #16287B
analogous
#7B3616 #7B6916 #5A7B16
triadic
#7B6916 #167B69 #69167B
tetradic
#7B6916 #167B36 #16287B #7B165A
square
#7B6916 #167B36 #16287B #7B165A
split-complementary
#7B6916 #165A7B #36167B
monochromatic
#1A1605 #473D0D #7B6916 #AF951F #DABC31

Accessibility & contrast

On white

5.42
#7B6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6916
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6916#FFFFFF#000000##FFFFFF
##7B69161.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#856059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b6916;
/* rgb */ color: rgb(123, 105, 22);
/* oklch */ color: oklch(52.3% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#a5935b',
    500: '#7b6916',
    950: '#000000',
  },
}
SCSS
$custom: #7b6916;
$custom-light: #a5935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6916",
  "rgb": {
    "r": 123,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 49.307,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.09937,
    "h": 96
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#7B6916
secondary
#3D51B0
accent
#5BEC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6916

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

Preview Lab → · Contrast checker → · Palette generator →

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