#7B7515#7B7515

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

Color values

HEX#7B7515
RGBrgb(123, 117, 21)
HSLhsl(56, 71%, 28%)
HSVhsv(56, 83%, 48%)
CMYKcmyk(0%, 4.9%, 82.9%, 51.8%)
CIE-LABlab(48.25, -8.74, 48.95)
CIE-LCHlch(48.25, 49.72, 100.12°)
OKLaboklab(55.08% -0.0297 0.106)
OKLCHoklch(55.08% 0.11 105.7)
XYZxyz(14.6657, 16.9883, 3.2159)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7515 #151B7B
analogous
#7B4215 #7B7515 #4E7B15
triadic
#7B7515 #157B75 #75157B
tetradic
#7B7515 #157B42 #151B7B #7B154E
square
#7B7515 #157B42 #151B7B #7B154E
split-complementary
#7B7515 #154E7B #42157B
monochromatic
#1A1904 #47430C #7B7515 #AFA71E #DBD12F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7515#FFFFFF#000000##FFFFFF
##7B75151.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)
#856C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7515;
/* rgb */ color: rgb(123, 117, 21);
/* oklch */ color: oklch(55.1% 0.110 105.7);
Tailwind
colors: {
  custom: {
    50: '#a59c5d',
    500: '#7b7515',
    950: '#000000',
  },
}
SCSS
$custom: #7b7515;
$custom-light: #a59c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7515",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 56.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.11006,
    "h": 105.7
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#7B7515
secondary
#3B42B0
accent
#45EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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