#7B6415#7B6415

#7B6415 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.097 H 91.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B6415
RGBrgb(123, 100, 21)
HSLhsl(46, 71%, 28%)
HSVhsv(46, 83%, 48%)
CMYKcmyk(0%, 18.7%, 82.9%, 51.8%)
CIE-LABlab(43.33, 0.96, 44.59)
CIE-LCHlch(43.33, 44.61, 88.76°)
OKLaboklab(51.19% -0.0024 0.0966)
OKLCHoklch(51.19% 0.097 91.4)
XYZxyz(12.8617, 13.3803, 2.6145)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6415 #152C7B
analogous
#7B3115 #7B6415 #5F7B15
triadic
#7B6415 #157B64 #64157B
tetradic
#7B6415 #157B31 #152C7B #7B155F
square
#7B6415 #157B31 #152C7B #7B155F
split-complementary
#7B6415 #155F7B #31157B
monochromatic
#1A1504 #47390C #7B6415 #AF8E1E #DBB52F

Accessibility & contrast

On white

5.71
#7B6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6415
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6415#FFFFFF#000000##FFFFFF
##7B64151.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706303
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#865B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6415;
/* rgb */ color: rgb(123, 100, 21);
/* oklch */ color: oklch(51.2% 0.097 91.4);
Tailwind
colors: {
  custom: {
    50: '#a58f5a',
    500: '#7b6415',
    950: '#000000',
  },
}
SCSS
$custom: #7b6415;
$custom-light: #a58f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6415",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 46.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.09662,
    "h": 91.4
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#7B6415
secondary
#3B56B0
accent
#63EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6415

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

Preview Lab → · Contrast checker → · Palette generator →

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