#7B6D17#7B6D17

#7B6D17 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.102 H 99.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7B6D17
RGBrgb(123, 109, 23)
HSLhsl(52, 68%, 29%)
HSVhsv(52, 81%, 48%)
CMYKcmyk(0%, 11.4%, 81.3%, 51.8%)
CIE-LABlab(45.92, -4.16, 46.22)
CIE-LCHlch(45.92, 46.41, 95.14°)
OKLaboklab(53.24% -0.0167 0.1005)
OKLCHoklch(53.24% 0.102 99.4)
XYZxyz(13.7924, 15.2108, 3.0199)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6D17 #17257B
analogous
#7B3B17 #7B6D17 #577B17
triadic
#7B6D17 #177B6D #6D177B
tetradic
#7B6D17 #177B3B #17257B #7B1757
square
#7B6D17 #177B3B #17257B #7B1757
split-complementary
#7B6D17 #17577B #3B177B
monochromatic
#1A1705 #473F0D #7B6D17 #AF9B21 #D9C233

Accessibility & contrast

On white

5.20
#7B6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6D17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6D17#FFFFFF#000000##FFFFFF
##7B6D171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#85645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6d17;
/* rgb */ color: rgb(123, 109, 23);
/* oklch */ color: oklch(53.2% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#a5965c',
    500: '#7b6d17',
    950: '#000000',
  },
}
SCSS
$custom: #7b6d17;
$custom-light: #a5965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6d17",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 51.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.1019,
    "h": 99.4
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#7B6D17
secondary
#3E4EB0
accent
#55EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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