#7B6715#7B6715

#7B6715 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.099 H 94.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B6715
RGBrgb(123, 103, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 48%)
CMYKcmyk(0%, 16.3%, 82.9%, 51.8%)
CIE-LABlab(44.18, -0.78, 45.36)
CIE-LCHlch(44.18, 45.36, 90.99°)
OKLaboklab(51.86% -0.0073 0.0982)
OKLCHoklch(51.86% 0.099 94.3)
XYZxyz(13.1547, 13.9664, 2.7122)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6715 #15297B
analogous
#7B3415 #7B6715 #5C7B15
triadic
#7B6715 #157B67 #67157B
tetradic
#7B6715 #157B34 #15297B #7B155C
square
#7B6715 #157B34 #15297B #7B155C
split-complementary
#7B6715 #155C7B #34157B
monochromatic
#1A1604 #473B0C #7B6715 #AF931E #DBBA2F

Accessibility & contrast

On white

5.54
#7B6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6715
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6715#FFFFFF#000000##FFFFFF
##7B67151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#865E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6715;
/* rgb */ color: rgb(123, 103, 21);
/* oklch */ color: oklch(51.9% 0.099 94.3);
Tailwind
colors: {
  custom: {
    50: '#a5925b',
    500: '#7b6715',
    950: '#000000',
  },
}
SCSS
$custom: #7b6715;
$custom-light: #a5925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6715",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 48.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.09851,
    "h": 94.3
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#7B6715
secondary
#3B52B0
accent
#5DEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6715

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

Preview Lab → · Contrast checker → · Palette generator →

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