#7A6918#7A6918

#7A6918 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.098 H 96.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A6918
RGBrgb(122, 105, 24)
HSLhsl(50, 67%, 29%)
HSVhsv(50, 80%, 48%)
CMYKcmyk(0%, 13.9%, 80.3%, 52.2%)
CIE-LABlab(44.67, -2.30, 44.69)
CIE-LCHlch(44.67, 44.74, 92.95°)
OKLaboklab(52.23% -0.0113 0.0975)
OKLCHoklch(52.23% 0.098 96.6)
XYZxyz(13.2432, 14.3074, 2.9280)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6918 #18297A
analogous
#7A3818 #7A6918 #5A7A18
triadic
#7A6918 #187A69 #69187A
tetradic
#7A6918 #187A38 #18297A #7A185A
square
#7A6918 #187A38 #18297A #7A185A
split-complementary
#7A6918 #185A7A #38187A
monochromatic
#1A1605 #473D0E #7A6918 #AD9522 #D7BB35

Accessibility & contrast

On white

5.44
#7A6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7A6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6918
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6918#FFFFFF#000000##FFFFFF
##7A69181.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#84605A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6918;
/* rgb */ color: rgb(122, 105, 24);
/* oklch */ color: oklch(52.2% 0.098 96.6);
Tailwind
colors: {
  custom: {
    50: '#a4935c',
    500: '#7a6918',
    950: '#000000',
  },
}
SCSS
$custom: #7a6918;
$custom-light: #a4935c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6918",
  "rgb": {
    "r": 122,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 49.592,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.09816,
    "h": 96.6
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#7A6918
secondary
#3F52AF
accent
#5CEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6918

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

Preview Lab → · Contrast checker → · Palette generator →

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