#7A6C18#7A6C18

#7A6C18 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.101 H 99.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6C18
RGBrgb(122, 108, 24)
HSLhsl(51, 67%, 29%)
HSVhsv(51, 80%, 48%)
CMYKcmyk(0%, 11.5%, 80.3%, 52.2%)
CIE-LABlab(45.54, -4.02, 45.48)
CIE-LCHlch(45.54, 45.66, 95.05°)
OKLaboklab(52.91% -0.0161 0.0992)
OKLCHoklch(52.91% 0.101 99.2)
XYZxyz(13.5542, 14.9293, 3.0317)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6C18 #18267A
analogous
#7A3B18 #7A6C18 #577A18
triadic
#7A6C18 #187A6C #6C187A
tetradic
#7A6C18 #187A3B #18267A #7A1857
square
#7A6C18 #187A3B #18267A #7A1857
split-complementary
#7A6C18 #18577A #3B187A
monochromatic
#1A1705 #473F0E #7A6C18 #AD9922 #D7C035

Accessibility & contrast

On white

5.27
#7A6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7A6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6C18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6C18#FFFFFF#000000##FFFFFF
##7A6C181.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#84635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6c18;
/* rgb */ color: rgb(122, 108, 24);
/* oklch */ color: oklch(52.9% 0.101 99.2);
Tailwind
colors: {
  custom: {
    50: '#a4955d',
    500: '#7a6c18',
    950: '#000000',
  },
}
SCSS
$custom: #7a6c18;
$custom-light: #a4955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6c18",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 51.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.10052,
    "h": 99.2
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#7A6C18
secondary
#3F4FAF
accent
#56EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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