#7A6915#7A6915

#7A6915 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.100 H 96.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A6915
RGBrgb(122, 105, 21)
HSLhsl(50, 71%, 28%)
HSVhsv(50, 83%, 48%)
CMYKcmyk(0%, 13.9%, 82.8%, 52.2%)
CIE-LABlab(44.65, -2.42, 45.73)
CIE-LCHlch(44.65, 45.80, 93.03°)
OKLaboklab(52.21% -0.0119 0.0991)
OKLCHoklch(52.21% 0.1 96.9)
XYZxyz(13.2137, 14.2956, 2.7727)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6915 #15267A
analogous
#7A3615 #7A6915 #587A15
triadic
#7A6915 #157A69 #69157A
tetradic
#7A6915 #157A36 #15267A #7A1558
square
#7A6915 #157A36 #15267A #7A1558
split-complementary
#7A6915 #15587A #36157A
monochromatic
#1A1604 #463C0C #7A6915 #AE961E #DBBE2E

Accessibility & contrast

On white

5.44
#7A6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7A6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6915
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6915#FFFFFF#000000##FFFFFF
##7A69151.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#846059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6915;
/* rgb */ color: rgb(122, 105, 21);
/* oklch */ color: oklch(52.2% 0.100 96.9);
Tailwind
colors: {
  custom: {
    50: '#a4935b',
    500: '#7a6915',
    950: '#000000',
  },
}
SCSS
$custom: #7a6915;
$custom-light: #a4935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6915",
  "rgb": {
    "r": 122,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 49.901,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.09982,
    "h": 96.9
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#7A6915
secondary
#3B4FAF
accent
#59ED3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6915

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

Preview Lab → · Contrast checker → · Palette generator →

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