#7A7618#7A7618

#7A7618 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.110 H 106.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A7618
RGBrgb(122, 118, 24)
HSLhsl(58, 67%, 29%)
HSVhsv(58, 80%, 48%)
CMYKcmyk(0%, 3.3%, 80.3%, 52.2%)
CIE-LABlab(48.46, -9.65, 48.14)
CIE-LCHlch(48.46, 49.10, 101.33°)
OKLaboklab(55.24% -0.0319 0.1049)
OKLCHoklch(55.24% 0.11 106.9)
XYZxyz(14.6700, 17.1609, 3.4036)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7618 #181C7A
analogous
#7A4518 #7A7618 #4D7A18
triadic
#7A7618 #187A76 #76187A
tetradic
#7A7618 #187A45 #181C7A #7A184D
square
#7A7618 #187A45 #181C7A #7A184D
split-complementary
#7A7618 #184D7A #45187A
monochromatic
#1A1905 #47450E #7A7618 #ADA722 #D7D135

Accessibility & contrast

On white

4.74
#7A7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7618
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7618#FFFFFF#000000##FFFFFF
##7A76181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7618;
/* rgb */ color: rgb(122, 118, 24);
/* oklch */ color: oklch(55.2% 0.110 106.9);
Tailwind
colors: {
  custom: {
    50: '#a49d5e',
    500: '#7a7618',
    950: '#000000',
  },
}
SCSS
$custom: #7a7618;
$custom-light: #a49d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7618",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 57.551,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.10966,
    "h": 106.9
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#7A7618
secondary
#3F44AF
accent
#45EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7618

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

Preview Lab → · Contrast checker → · Palette generator →

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