#7B6515#7B6515

#7B6515 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.097 H 92.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B6515
RGBrgb(123, 101, 21)
HSLhsl(47, 71%, 28%)
HSVhsv(47, 83%, 48%)
CMYKcmyk(0%, 17.9%, 82.9%, 51.8%)
CIE-LABlab(43.61, 0.38, 44.85)
CIE-LCHlch(43.61, 44.85, 89.52°)
OKLaboklab(51.41% -0.004 0.0971)
OKLCHoklch(51.41% 0.097 92.4)
XYZxyz(12.9582, 13.5733, 2.6467)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6515 #152B7B
analogous
#7B3215 #7B6515 #5E7B15
triadic
#7B6515 #157B65 #65157B
tetradic
#7B6515 #157B32 #152B7B #7B155E
square
#7B6515 #157B32 #152B7B #7B155E
split-complementary
#7B6515 #155E7B #32157B
monochromatic
#1A1504 #473A0C #7B6515 #AF901E #DBB62F

Accessibility & contrast

On white

5.65
#7B6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7B6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6515
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6515#FFFFFF#000000##FFFFFF
##7B65151.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#865C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b6515;
/* rgb */ color: rgb(123, 101, 21);
/* oklch */ color: oklch(51.4% 0.097 92.4);
Tailwind
colors: {
  custom: {
    50: '#a5905a',
    500: '#7b6515',
    950: '#000000',
  },
}
SCSS
$custom: #7b6515;
$custom-light: #a5905a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6515",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 47.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.09722,
    "h": 92.4
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#7B6515
secondary
#3B55B0
accent
#61EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6515

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

Preview Lab → · Contrast checker → · Palette generator →

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