#7B7514#7B7514

#7B7514 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.111 H 105.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7B7514
RGBrgb(123, 117, 20)
HSLhsl(57, 72%, 28%)
HSVhsv(57, 84%, 48%)
CMYKcmyk(0%, 4.9%, 83.7%, 51.8%)
CIE-LABlab(48.24, -8.78, 49.25)
CIE-LCHlch(48.24, 50.02, 100.10°)
OKLaboklab(55.08% -0.0299 0.1064)
OKLCHoklch(55.08% 0.111 105.7)
XYZxyz(14.6566, 16.9846, 3.1680)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7514 #141A7B
analogous
#7B4114 #7B7514 #4D7B14
triadic
#7B7514 #147B75 #75147B
tetradic
#7B7514 #147B41 #141A7B #7B144D
square
#7B7514 #147B41 #141A7B #7B144D
split-complementary
#7B7514 #144D7B #41147B
monochromatic
#1A1904 #46430B #7B7514 #B0A71D #DDD32D

Accessibility & contrast

On white

4.78
#7B7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7514
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7514#FFFFFF#000000##FFFFFF
##7B75141.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#856C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7514;
/* rgb */ color: rgb(123, 117, 20);
/* oklch */ color: oklch(55.1% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#a59c5c',
    500: '#7b7514',
    950: '#000000',
  },
}
SCSS
$custom: #7b7514;
$custom-light: #a59c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7514",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 56.505,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.11055,
    "h": 105.7
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#7B7514
secondary
#3A41B1
accent
#44EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7514

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

Preview Lab → · Contrast checker → · Palette generator →

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