#7A6D18#7A6D18

#7A6D18 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.101 H 100.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7A6D18
RGBrgb(122, 109, 24)
HSLhsl(52, 67%, 29%)
HSVhsv(52, 80%, 48%)
CMYKcmyk(0%, 10.7%, 80.3%, 52.2%)
CIE-LABlab(45.83, -4.59, 45.75)
CIE-LCHlch(45.83, 45.98, 95.73°)
OKLaboklab(53.14% -0.0178 0.0998)
OKLCHoklch(53.14% 0.101 100.1)
XYZxyz(13.6602, 15.1415, 3.0670)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6D18 #18257A
analogous
#7A3C18 #7A6D18 #567A18
triadic
#7A6D18 #187A6D #6D187A
tetradic
#7A6D18 #187A3C #18257A #7A1856
square
#7A6D18 #187A3C #18257A #7A1856
split-complementary
#7A6D18 #18567A #3C187A
monochromatic
#1A1705 #473F0E #7A6D18 #AD9B22 #D7C235

Accessibility & contrast

On white

5.21
#7A6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7A6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6D18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6D18#FFFFFF#000000##FFFFFF
##7A6D181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#84645D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6d18;
/* rgb */ color: rgb(122, 109, 24);
/* oklch */ color: oklch(53.1% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#a4965d',
    500: '#7a6d18',
    950: '#000000',
  },
}
SCSS
$custom: #7a6d18;
$custom-light: #a4965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6d18",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 52.041,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.10135,
    "h": 100.1
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#7A6D18
secondary
#3F4EAF
accent
#55EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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