#7A6315#7A6315

#7A6315 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.9% C 0.096 H 91.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7A6315
RGBrgb(122, 99, 21)
HSLhsl(46, 71%, 28%)
HSVhsv(46, 83%, 48%)
CMYKcmyk(0%, 18.9%, 82.8%, 52.2%)
CIE-LABlab(42.94, 1.06, 44.20)
CIE-LCHlch(42.94, 44.21, 88.62°)
OKLaboklab(50.85% -0.002 0.0958)
OKLCHoklch(50.85% 0.096 91.2)
XYZxyz(12.6240, 13.1162, 2.5761)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6315 #152C7A
analogous
#7A3115 #7A6315 #5E7A15
triadic
#7A6315 #157A63 #63157A
tetradic
#7A6315 #157A31 #152C7A #7A155E
square
#7A6315 #157A31 #152C7A #7A155E
split-complementary
#7A6315 #155E7A #31157A
monochromatic
#1A1504 #46390C #7A6315 #AE8D1E #DBB42E

Accessibility & contrast

On white

5.80
#7A6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7A6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6315
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6315#FFFFFF#000000##FFFFFF
##7A63151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#75681A
Tritanopia (blue-blind)
#855A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a6315;
/* rgb */ color: rgb(122, 99, 21);
/* oklch */ color: oklch(50.9% 0.096 91.2);
Tailwind
colors: {
  custom: {
    50: '#a48f5a',
    500: '#7a6315',
    950: '#000000',
  },
}
SCSS
$custom: #7a6315;
$custom-light: #a48f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6315",
  "rgb": {
    "r": 122,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 46.337,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.09582,
    "h": 91.2
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#7A6315
secondary
#3B56AF
accent
#63ED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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