#7B6517#7B6517

#7B6517 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.096 H 92.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B6517
RGBrgb(123, 101, 23)
HSLhsl(47, 68%, 29%)
HSVhsv(47, 81%, 48%)
CMYKcmyk(0%, 17.9%, 81.3%, 51.8%)
CIE-LABlab(43.63, 0.46, 44.14)
CIE-LCHlch(43.63, 44.14, 89.41°)
OKLaboklab(51.42% -0.0036 0.0961)
OKLCHoklch(51.42% 0.096 92.1)
XYZxyz(12.9775, 13.5810, 2.7483)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6517 #172D7B
analogous
#7B3317 #7B6517 #5F7B17
triadic
#7B6517 #177B65 #65177B
tetradic
#7B6517 #177B33 #172D7B #7B175F
square
#7B6517 #177B33 #172D7B #7B175F
split-complementary
#7B6517 #175F7B #33177B
monochromatic
#1A1505 #473B0D #7B6517 #AF8F21 #D9B533

Accessibility & contrast

On white

5.65
#7B6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6517
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6517#FFFFFF#000000##FFFFFF
##7B65171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#766A1C
Tritanopia (blue-blind)
#865C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b6517;
/* rgb */ color: rgb(123, 101, 23);
/* oklch */ color: oklch(51.4% 0.096 92.1);
Tailwind
colors: {
  custom: {
    50: '#a5905b',
    500: '#7b6517',
    950: '#000000',
  },
}
SCSS
$custom: #7b6517;
$custom-light: #a5905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6517",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 46.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.09613,
    "h": 92.1
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#7B6517
secondary
#3E57B0
accent
#63EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6517

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

Preview Lab → · Contrast checker → · Palette generator →

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