#7A7918#7A7918

#7A7918 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.113 H 108.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A7918
RGBrgb(122, 121, 24)
HSLhsl(59, 67%, 29%)
HSVhsv(59, 80%, 48%)
CMYKcmyk(0%, 0.8%, 80.3%, 52.2%)
CIE-LABlab(49.35, -11.30, 48.94)
CIE-LCHlch(49.35, 50.23, 103.00°)
OKLaboklab(55.95% -0.0366 0.1066)
OKLCHoklch(55.95% 0.113 108.9)
XYZxyz(15.0289, 17.8787, 3.5233)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7918 #18197A
analogous
#7A4818 #7A7918 #4A7A18
triadic
#7A7918 #187A79 #79187A
tetradic
#7A7918 #187A48 #18197A #7A184A
square
#7A7918 #187A48 #18197A #7A184A
split-complementary
#7A7918 #184A7A #48187A
monochromatic
#1A1905 #47460E #7A7918 #ADAC22 #D7D635

Accessibility & contrast

On white

4.59
#7A7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A7918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7918
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7918#FFFFFF#000000##FFFFFF
##7A79181.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7918;
/* rgb */ color: rgb(122, 121, 24);
/* oklch */ color: oklch(55.9% 0.113 108.9);
Tailwind
colors: {
  custom: {
    50: '#a49f5e',
    500: '#7a7918',
    950: '#000000',
  },
}
SCSS
$custom: #7a7918;
$custom-light: #a49f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7918",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 59.388,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.1127,
    "h": 108.9
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#7A7918
secondary
#3F40AF
accent
#40EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7918

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

Preview Lab → · Contrast checker → · Palette generator →

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