#7A6A15#7A6A15

#7A6A15 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.101 H 97.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A6A15
RGBrgb(122, 106, 21)
HSLhsl(50, 71%, 28%)
HSVhsv(50, 83%, 48%)
CMYKcmyk(0%, 13.1%, 82.8%, 52.2%)
CIE-LABlab(44.94, -3.00, 45.99)
CIE-LCHlch(44.94, 46.09, 93.73°)
OKLaboklab(52.44% -0.0135 0.0997)
OKLCHoklch(52.44% 0.101 97.7)
XYZxyz(13.3161, 14.5005, 2.8068)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6A15 #15257A
analogous
#7A3715 #7A6A15 #577A15
triadic
#7A6A15 #157A6A #6A157A
tetradic
#7A6A15 #157A37 #15257A #7A1557
square
#7A6A15 #157A37 #15257A #7A1557
split-complementary
#7A6A15 #15577A #37157A
monochromatic
#1A1704 #463D0C #7A6A15 #AE971E #DBC02E

Accessibility & contrast

On white

5.38
#7A6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6A15
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6A15#FFFFFF#000000##FFFFFF
##7A6A151.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#84615A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6a15;
/* rgb */ color: rgb(122, 106, 21);
/* oklch */ color: oklch(52.4% 0.101 97.7);
Tailwind
colors: {
  custom: {
    50: '#a4945b',
    500: '#7a6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7a6a15;
$custom-light: #a4945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6a15",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 50.495,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.10058,
    "h": 97.7
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#7A6A15
secondary
#3B4EAF
accent
#57ED3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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