#7A6B18#7A6B18

#7A6B18 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.100 H 98.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A6B18
RGBrgb(122, 107, 24)
HSLhsl(51, 67%, 29%)
HSVhsv(51, 80%, 48%)
CMYKcmyk(0%, 12.3%, 80.3%, 52.2%)
CIE-LABlab(45.25, -3.45, 45.22)
CIE-LCHlch(45.25, 45.35, 94.36°)
OKLaboklab(52.69% -0.0145 0.0986)
OKLCHoklch(52.69% 0.1 98.4)
XYZxyz(13.4493, 14.7196, 2.9967)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6B18 #18277A
analogous
#7A3A18 #7A6B18 #587A18
triadic
#7A6B18 #187A6B #6B187A
tetradic
#7A6B18 #187A3A #18277A #7A1858
square
#7A6B18 #187A3A #18277A #7A1858
split-complementary
#7A6B18 #18587A #3A187A
monochromatic
#1A1605 #473E0E #7A6B18 #AD9822 #D7BE35

Accessibility & contrast

On white

5.32
#7A6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7A6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6B18
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6B18#FFFFFF#000000##FFFFFF
##7A6B181.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#84625B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a6b18;
/* rgb */ color: rgb(122, 107, 24);
/* oklch */ color: oklch(52.7% 0.100 98.4);
Tailwind
colors: {
  custom: {
    50: '#a4955c',
    500: '#7a6b18',
    950: '#000000',
  },
}
SCSS
$custom: #7a6b18;
$custom-light: #a4955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6b18",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 50.816,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.0997,
    "h": 98.4
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#7A6B18
secondary
#3F50AF
accent
#58EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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