#7A6818#7A6818

#7A6818 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.097 H 95.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A6818
RGBrgb(122, 104, 24)
HSLhsl(49, 67%, 29%)
HSVhsv(49, 80%, 48%)
CMYKcmyk(0%, 14.8%, 80.3%, 52.2%)
CIE-LABlab(44.38, -1.72, 44.42)
CIE-LCHlch(44.38, 44.45, 92.22°)
OKLaboklab(52% -0.0096 0.0969)
OKLCHoklch(52% 0.097 95.7)
XYZxyz(13.1419, 14.1049, 2.8943)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6818 #182A7A
analogous
#7A3718 #7A6818 #5B7A18
triadic
#7A6818 #187A68 #68187A
tetradic
#7A6818 #187A37 #182A7A #7A185B
square
#7A6818 #187A37 #182A7A #7A185B
split-complementary
#7A6818 #185B7A #37187A
monochromatic
#1A1605 #473C0E #7A6818 #AD9422 #D7B935

Accessibility & contrast

On white

5.50
#7A6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6818
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6818#FFFFFF#000000##FFFFFF
##7A68181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6818;
/* rgb */ color: rgb(122, 104, 24);
/* oklch */ color: oklch(52.0% 0.097 95.7);
Tailwind
colors: {
  custom: {
    50: '#a4925c',
    500: '#7a6818',
    950: '#000000',
  },
}
SCSS
$custom: #7a6818;
$custom-light: #a4925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6818",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 48.98,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52,
    "c": 0.09742,
    "h": 95.7
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#7A6818
secondary
#3F54AF
accent
#5DEA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7A6818

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

Preview Lab → · Contrast checker → · Palette generator →

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