#7B6D19#7B6D19

#7B6D19 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.101 H 99.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B6D19
RGBrgb(123, 109, 25)
HSLhsl(51, 66%, 29%)
HSVhsv(51, 80%, 48%)
CMYKcmyk(0%, 11.4%, 79.7%, 51.8%)
CIE-LABlab(45.93, -4.07, 45.52)
CIE-LCHlch(45.93, 45.70, 95.11°)
OKLaboklab(53.25% -0.0162 0.0995)
OKLCHoklch(53.25% 0.101 99.3)
XYZxyz(13.8132, 15.2191, 3.1295)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6D19 #19277B
analogous
#7B3C19 #7B6D19 #587B19
triadic
#7B6D19 #197B6D #6D197B
tetradic
#7B6D19 #197B3C #19277B #7B1958
square
#7B6D19 #197B3C #19277B #7B1958
split-complementary
#7B6D19 #19587B #3C197B
monochromatic
#191705 #48400F #7B6D19 #AE9A23 #D7C038

Accessibility & contrast

On white

5.19
#7B6D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B6D19
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6D19#FFFFFF#000000##FFFFFF
##7B6D191.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b6d19;
/* rgb */ color: rgb(123, 109, 25);
/* oklch */ color: oklch(53.3% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#a5965d',
    500: '#7b6d19',
    950: '#000000',
  },
}
SCSS
$custom: #7b6d19;
$custom-light: #a5965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6d19",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 51.429,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.10078,
    "h": 99.3
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#7B6D19
secondary
#4050AF
accent
#57E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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