#7A7218#7A7218

#7A7218 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.106 H 104.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A7218
RGBrgb(122, 114, 24)
HSLhsl(55, 67%, 29%)
HSVhsv(55, 80%, 48%)
CMYKcmyk(0%, 6.6%, 80.3%, 52.2%)
CIE-LABlab(47.29, -7.42, 47.07)
CIE-LCHlch(47.29, 47.66, 98.96°)
OKLaboklab(54.3% -0.0257 0.1026)
OKLCHoklch(54.3% 0.106 104.1)
XYZxyz(14.2089, 16.2387, 3.2499)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7218 #18207A
analogous
#7A4118 #7A7218 #517A18
triadic
#7A7218 #187A72 #72187A
tetradic
#7A7218 #187A41 #18207A #7A1851
square
#7A7218 #187A41 #18207A #7A1851
split-complementary
#7A7218 #18517A #41187A
monochromatic
#1A1805 #47420E #7A7218 #ADA222 #D7CA35

Accessibility & contrast

On white

4.94
#7A7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7218
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7218#FFFFFF#000000##FFFFFF
##7A72181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#846A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a7218;
/* rgb */ color: rgb(122, 114, 24);
/* oklch */ color: oklch(54.3% 0.106 104.1);
Tailwind
colors: {
  custom: {
    50: '#a49a5d',
    500: '#7a7218',
    950: '#000000',
  },
}
SCSS
$custom: #7a7218;
$custom-light: #a49a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7218",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 55.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.10579,
    "h": 104.1
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#7A7218
secondary
#3F48AF
accent
#4CEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7218

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

Preview Lab → · Contrast checker → · Palette generator →

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