#7B6814#7B6814

#7B6814 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.100 H 95.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7B6814
RGBrgb(123, 104, 20)
HSLhsl(49, 72%, 28%)
HSVhsv(49, 84%, 48%)
CMYKcmyk(0%, 15.4%, 83.7%, 51.8%)
CIE-LABlab(44.47, -1.40, 45.95)
CIE-LCHlch(44.47, 45.97, 91.74°)
OKLaboklab(52.08% -0.0092 0.0993)
OKLCHoklch(52.08% 0.1 95.3)
XYZxyz(13.2457, 14.1629, 2.6977)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6814 #14277B
analogous
#7B3414 #7B6814 #5A7B14
triadic
#7B6814 #147B68 #68147B
tetradic
#7B6814 #147B34 #14277B #7B145A
square
#7B6814 #147B34 #14277B #7B145A
split-complementary
#7B6814 #145A7B #34147B
monochromatic
#1A1604 #463B0B #7B6814 #B0951D #DDBC2D

Accessibility & contrast

On white

5.48
#7B6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7B6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6814
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6814#FFFFFF#000000##FFFFFF
##7B68141.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#865F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6814;
/* rgb */ color: rgb(123, 104, 20);
/* oklch */ color: oklch(52.1% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#a5925a',
    500: '#7b6814',
    950: '#000000',
  },
}
SCSS
$custom: #7b6814;
$custom-light: #a5925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6814",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 48.932,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.0997,
    "h": 95.3
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#7B6814
secondary
#3A50B1
accent
#5BEF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7B6814

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

Preview Lab → · Contrast checker → · Palette generator →

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