#7B6F17#7B6F17

#7B6F17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.104 H 101.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B6F17
RGBrgb(123, 111, 23)
HSLhsl(53, 68%, 29%)
HSVhsv(53, 81%, 48%)
CMYKcmyk(0%, 9.8%, 81.3%, 51.8%)
CIE-LABlab(46.50, -5.29, 46.74)
CIE-LCHlch(46.50, 47.04, 96.46°)
OKLaboklab(53.7% -0.0199 0.1017)
OKLCHoklch(53.7% 0.104 101.1)
XYZxyz(14.0082, 15.6424, 3.0919)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F17 #17237B
analogous
#7B3D17 #7B6F17 #557B17
triadic
#7B6F17 #177B6F #6F177B
tetradic
#7B6F17 #177B3D #17237B #7B1755
square
#7B6F17 #177B3D #17237B #7B1755
split-complementary
#7B6F17 #17557B #3D177B
monochromatic
#1A1705 #47400D #7B6F17 #AF9E21 #D9C533

Accessibility & contrast

On white

5.09
#7B6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6F17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F17#FFFFFF#000000##FFFFFF
##7B6F171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7E701E
Tritanopia (blue-blind)
#85665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b6f17;
/* rgb */ color: rgb(123, 111, 23);
/* oklch */ color: oklch(53.7% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#a5985d',
    500: '#7b6f17',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f17;
$custom-light: #a5985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f17",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 52.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.10359,
    "h": 101.1
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#7B6F17
secondary
#3E4CB0
accent
#51EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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