#7A7818#7A7818

#7A7818 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.112 H 108.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A7818
RGBrgb(122, 120, 24)
HSLhsl(59, 67%, 29%)
HSVhsv(59, 80%, 48%)
CMYKcmyk(0%, 1.6%, 80.3%, 52.2%)
CIE-LABlab(49.05, -10.75, 48.67)
CIE-LCHlch(49.05, 49.85, 102.46°)
OKLaboklab(55.71% -0.035 0.106)
OKLCHoklch(55.71% 0.112 108.3)
XYZxyz(14.9080, 17.6370, 3.4830)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7818 #181A7A
analogous
#7A4718 #7A7818 #4B7A18
triadic
#7A7818 #187A78 #78187A
tetradic
#7A7818 #187A47 #181A7A #7A184B
square
#7A7818 #187A47 #181A7A #7A184B
split-complementary
#7A7818 #184B7A #47187A
monochromatic
#1A1905 #47460E #7A7818 #ADAA22 #D7D435

Accessibility & contrast

On white

4.64
#7A7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7A7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7818
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7818#FFFFFF#000000##FFFFFF
##7A78181.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7818;
/* rgb */ color: rgb(122, 120, 24);
/* oklch */ color: oklch(55.7% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49e5e',
    500: '#7a7818',
    950: '#000000',
  },
}
SCSS
$custom: #7a7818;
$custom-light: #a49e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7818",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 58.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.11167,
    "h": 108.3
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#7A7818
secondary
#3F41AF
accent
#41EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7818

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

Preview Lab → · Contrast checker → · Palette generator →

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