#7A7418#7A7418

#7A7418 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.108 H 105.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A7418
RGBrgb(122, 116, 24)
HSLhsl(56, 67%, 29%)
HSVhsv(56, 80%, 48%)
CMYKcmyk(0%, 4.9%, 80.3%, 52.2%)
CIE-LABlab(47.87, -8.54, 47.61)
CIE-LCHlch(47.87, 48.37, 100.17°)
OKLaboklab(54.77% -0.0288 0.1038)
OKLCHoklch(54.77% 0.108 105.5)
XYZxyz(14.4369, 16.6949, 3.3259)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7418 #181E7A
analogous
#7A4318 #7A7418 #4F7A18
triadic
#7A7418 #187A74 #74187A
tetradic
#7A7418 #187A43 #181E7A #7A184F
square
#7A7418 #187A43 #181E7A #7A184F
split-complementary
#7A7418 #184F7A #43187A
monochromatic
#1A1805 #47430E #7A7418 #ADA522 #D7CD35

Accessibility & contrast

On white

4.84
#7A7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7418
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7418#FFFFFF#000000##FFFFFF
##7A74181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#846C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7418;
/* rgb */ color: rgb(122, 116, 24);
/* oklch */ color: oklch(54.8% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#a49b5e',
    500: '#7a7418',
    950: '#000000',
  },
}
SCSS
$custom: #7a7418;
$custom-light: #a49b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7418",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 56.327,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.1077,
    "h": 105.5
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#7A7418
secondary
#3F46AF
accent
#48EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7418

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

Preview Lab → · Contrast checker → · Palette generator →

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