#7A6418#7A6418

#7A6418 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.1% C 0.095 H 91.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7A6418
RGBrgb(122, 100, 24)
HSLhsl(47, 67%, 29%)
HSVhsv(47, 80%, 48%)
CMYKcmyk(0%, 18%, 80.3%, 52.2%)
CIE-LABlab(43.24, 0.60, 43.36)
CIE-LCHlch(43.24, 43.37, 89.20°)
OKLaboklab(51.1% -0.003 0.0947)
OKLCHoklch(51.1% 0.095 91.8)
XYZxyz(12.7488, 13.3187, 2.7632)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6418 #182E7A
analogous
#7A3318 #7A6418 #5F7A18
triadic
#7A6418 #187A64 #64187A
tetradic
#7A6418 #187A33 #182E7A #7A185F
square
#7A6418 #187A33 #182E7A #7A185F
split-complementary
#7A6418 #185F7A #33187A
monochromatic
#1A1505 #473A0E #7A6418 #AD8E22 #D7B335

Accessibility & contrast

On white

5.73
#7A6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6418
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6418#FFFFFF#000000##FFFFFF
##7A64181.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706209
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#855B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a6418;
/* rgb */ color: rgb(122, 100, 24);
/* oklch */ color: oklch(51.1% 0.095 91.8);
Tailwind
colors: {
  custom: {
    50: '#a48f5c',
    500: '#7a6418',
    950: '#000000',
  },
}
SCSS
$custom: #7a6418;
$custom-light: #a48f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6418",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 46.531,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.09473,
    "h": 91.8
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#7A6418
secondary
#3F58AF
accent
#64EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6418

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

Preview Lab → · Contrast checker → · Palette generator →

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