#7B7415#7B7415

#7B7415 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 105.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7B7415
RGBrgb(123, 116, 21)
HSLhsl(56, 71%, 28%)
HSVhsv(56, 83%, 48%)
CMYKcmyk(0%, 5.7%, 82.9%, 51.8%)
CIE-LABlab(47.95, -8.18, 48.69)
CIE-LCHlch(47.95, 49.37, 99.54°)
OKLaboklab(54.85% -0.0282 0.1054)
OKLCHoklch(54.85% 0.109 105)
XYZxyz(14.5498, 16.7565, 3.1772)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7415 #151C7B
analogous
#7B4115 #7B7415 #4F7B15
triadic
#7B7415 #157B74 #74157B
tetradic
#7B7415 #157B41 #151C7B #7B154F
square
#7B7415 #157B41 #151C7B #7B154F
split-complementary
#7B7415 #154F7B #41157B
monochromatic
#1A1904 #47430C #7B7415 #AFA51E #DBD02F

Accessibility & contrast

On white

4.83
#7B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7415
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7415#FFFFFF#000000##FFFFFF
##7B74151.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#81741D
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7415;
/* rgb */ color: rgb(123, 116, 21);
/* oklch */ color: oklch(54.9% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#a59b5c',
    500: '#7b7415',
    950: '#000000',
  },
}
SCSS
$custom: #7b7415;
$custom-light: #a59b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7415",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 55.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.10912,
    "h": 105
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#7B7415
secondary
#3B43B0
accent
#47EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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