#7B6F19#7B6F19

#7B6F19 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.102 H 100.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7B6F19
RGBrgb(123, 111, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 9.8%, 79.7%, 51.8%)
CIE-LABlab(46.51, -5.21, 46.05)
CIE-LCHlch(46.51, 46.35, 96.46°)
OKLaboklab(53.71% -0.0195 0.1006)
OKLCHoklch(53.71% 0.102 100.9)
XYZxyz(14.0290, 15.6507, 3.2014)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F19 #19257B
analogous
#7B3E19 #7B6F19 #567B19
triadic
#7B6F19 #197B6F #6F197B
tetradic
#7B6F19 #197B3E #19257B #7B1956
square
#7B6F19 #197B3E #19257B #7B1956
split-complementary
#7B6F19 #19567B #3E197B
monochromatic
#191705 #48410F #7B6F19 #AE9D23 #D7C338

Accessibility & contrast

On white

5.08
#7B6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B6F19
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F19#FFFFFF#000000##FFFFFF
##7B6F191.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b6f19;
/* rgb */ color: rgb(123, 111, 25);
/* oklch */ color: oklch(53.7% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#a5985e',
    500: '#7b6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f19;
$custom-light: #a5985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f19",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 52.653,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.10246,
    "h": 100.9
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#7B6F19
secondary
#404EAF
accent
#54E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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