#7A6618#7A6618

#7A6618 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.096 H 93.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A6618
RGBrgb(122, 102, 24)
HSLhsl(48, 67%, 29%)
HSVhsv(48, 80%, 48%)
CMYKcmyk(0%, 16.4%, 80.3%, 52.2%)
CIE-LABlab(43.81, -0.56, 43.89)
CIE-LCHlch(43.81, 43.89, 90.73°)
OKLaboklab(51.55% -0.0063 0.0958)
OKLCHoklch(51.55% 0.096 93.8)
XYZxyz(12.9430, 13.7070, 2.8280)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6618 #182C7A
analogous
#7A3518 #7A6618 #5D7A18
triadic
#7A6618 #187A66 #66187A
tetradic
#7A6618 #187A35 #182C7A #7A185D
square
#7A6618 #187A35 #182C7A #7A185D
split-complementary
#7A6618 #185D7A #35187A
monochromatic
#1A1505 #473B0E #7A6618 #AD9122 #D7B635

Accessibility & contrast

On white

5.61
#7A6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6618
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6618#FFFFFF#000000##FFFFFF
##7A66181.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#845D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6618;
/* rgb */ color: rgb(122, 102, 24);
/* oklch */ color: oklch(51.5% 0.096 93.8);
Tailwind
colors: {
  custom: {
    50: '#a4915c',
    500: '#7a6618',
    950: '#000000',
  },
}
SCSS
$custom: #7a6618;
$custom-light: #a4915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6618",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 47.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.09602,
    "h": 93.8
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#7A6618
secondary
#3F56AF
accent
#61EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6618

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

Preview Lab → · Contrast checker → · Palette generator →

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