#7A6515#7A6515

#7A6515 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.097 H 93.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7A6515
RGBrgb(122, 101, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 48%)
CMYKcmyk(0%, 17.2%, 82.8%, 52.2%)
CIE-LABlab(43.51, -0.10, 44.71)
CIE-LCHlch(43.51, 44.71, 90.13°)
OKLaboklab(51.3% -0.0053 0.0969)
OKLCHoklch(51.3% 0.097 93.2)
XYZxyz(12.8158, 13.4999, 2.6400)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6515 #152A7A
analogous
#7A3315 #7A6515 #5C7A15
triadic
#7A6515 #157A65 #65157A
tetradic
#7A6515 #157A33 #152A7A #7A155C
square
#7A6515 #157A33 #152A7A #7A155C
split-complementary
#7A6515 #155C7A #33157A
monochromatic
#1A1604 #463A0C #7A6515 #AE901E #DBB72E

Accessibility & contrast

On white

5.68
#7A6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7A6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6515
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6515#FFFFFF#000000##FFFFFF
##7A65151.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#855C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a6515;
/* rgb */ color: rgb(122, 101, 21);
/* oklch */ color: oklch(51.3% 0.097 93.2);
Tailwind
colors: {
  custom: {
    50: '#a4905a',
    500: '#7a6515',
    950: '#000000',
  },
}
SCSS
$custom: #7a6515;
$custom-light: #a4905a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6515",
  "rgb": {
    "r": 122,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 47.525,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.09705,
    "h": 93.2
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#7A6515
secondary
#3B53AF
accent
#60ED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6515

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

Preview Lab → · Contrast checker → · Palette generator →

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