#7A6115#7A6115

#7A6115 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.4% C 0.095 H 89.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A6115
RGBrgb(122, 97, 21)
HSLhsl(45, 71%, 28%)
HSVhsv(45, 83%, 48%)
CMYKcmyk(0%, 20.5%, 82.8%, 52.2%)
CIE-LABlab(42.37, 2.24, 43.69)
CIE-LCHlch(42.37, 43.75, 87.07°)
OKLaboklab(50.41% 0.0013 0.0947)
OKLCHoklch(50.41% 0.095 89.2)
XYZxyz(12.4369, 12.7419, 2.5137)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6115 #152E7A
analogous
#7A2F15 #7A6115 #607A15
triadic
#7A6115 #157A61 #61157A
tetradic
#7A6115 #157A2F #152E7A #7A1560
square
#7A6115 #157A2F #152E7A #7A1560
split-complementary
#7A6115 #15607A #2F157A
monochromatic
#1A1504 #46370C #7A6115 #AE8B1E #DBB02E

Accessibility & contrast

On white

5.92
#7A6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7A6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6115
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6115#FFFFFF#000000##FFFFFF
##7A61151.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#855853
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a6115;
/* rgb */ color: rgb(122, 97, 21);
/* oklch */ color: oklch(50.4% 0.095 89.2);
Tailwind
colors: {
  custom: {
    50: '#a48d5a',
    500: '#7a6115',
    950: '#000000',
  },
}
SCSS
$custom: #7a6115;
$custom-light: #a48d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6115",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 45.149,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.09471,
    "h": 89.2
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#7A6115
secondary
#3B58AF
accent
#67ED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6115

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

Preview Lab → · Contrast checker → · Palette generator →

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