#7B6E17#7B6E17

#7B6E17 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.103 H 100.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B6E17
RGBrgb(123, 110, 23)
HSLhsl(52, 68%, 29%)
HSVhsv(52, 81%, 48%)
CMYKcmyk(0%, 10.6%, 81.3%, 51.8%)
CIE-LABlab(46.21, -4.73, 46.48)
CIE-LCHlch(46.21, 46.72, 95.81°)
OKLaboklab(53.47% -0.0183 0.1011)
OKLCHoklch(53.47% 0.103 100.3)
XYZxyz(13.8997, 15.4254, 3.0557)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6E17 #17247B
analogous
#7B3C17 #7B6E17 #567B17
triadic
#7B6E17 #177B6E #6E177B
tetradic
#7B6E17 #177B3C #17247B #7B1756
square
#7B6E17 #177B3C #17247B #7B1756
split-complementary
#7B6E17 #17567B #3C177B
monochromatic
#1A1705 #47400D #7B6E17 #AF9C21 #D9C333

Accessibility & contrast

On white

5.14
#7B6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7B6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6E17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6E17#FFFFFF#000000##FFFFFF
##7B6E171.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#85655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6e17;
/* rgb */ color: rgb(123, 110, 23);
/* oklch */ color: oklch(53.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a5975c',
    500: '#7b6e17',
    950: '#000000',
  },
}
SCSS
$custom: #7b6e17;
$custom-light: #a5975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6e17",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 52.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.10274,
    "h": 100.3
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#7B6E17
secondary
#3E4DB0
accent
#53EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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