#7A6218#7A6218

#7A6218 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.6% C 0.094 H 89.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7A6218
RGBrgb(122, 98, 24)
HSLhsl(45, 67%, 29%)
HSVhsv(45, 80%, 48%)
CMYKcmyk(0%, 19.7%, 80.3%, 52.2%)
CIE-LABlab(42.67, 1.77, 42.84)
CIE-LCHlch(42.67, 42.87, 87.63°)
OKLaboklab(50.65% 0.0003 0.0936)
OKLCHoklch(50.65% 0.094 89.8)
XYZxyz(12.5593, 12.9397, 2.7001)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6218 #18307A
analogous
#7A3118 #7A6218 #617A18
triadic
#7A6218 #187A62 #62187A
tetradic
#7A6218 #187A31 #18307A #7A1861
square
#7A6218 #187A31 #18307A #7A1861
split-complementary
#7A6218 #18617A #31187A
monochromatic
#1A1505 #47390E #7A6218 #AD8B22 #D7B035

Accessibility & contrast

On white

5.85
#7A6218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A6218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6218
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6218#FFFFFF#000000##FFFFFF
##7A62181.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610A
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#855954
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a6218;
/* rgb */ color: rgb(122, 98, 24);
/* oklch */ color: oklch(50.6% 0.094 89.8);
Tailwind
colors: {
  custom: {
    50: '#a48e5b',
    500: '#7a6218',
    950: '#000000',
  },
}
SCSS
$custom: #7a6218;
$custom-light: #a48e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6218",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 45.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.09356,
    "h": 89.8
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#7A6218
secondary
#3F5AAF
accent
#68EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6218

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

Preview Lab → · Contrast checker → · Palette generator →

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