#7A7520#7A7520

#7A7520 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.104 H 106.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7A7520
RGBrgb(122, 117, 32)
HSLhsl(57, 58%, 30%)
HSVhsv(57, 74%, 48%)
CMYKcmyk(0%, 4.1%, 73.8%, 52.2%)
CIE-LABlab(48.22, -8.72, 44.96)
CIE-LCHlch(48.22, 45.80, 100.97°)
OKLaboklab(55.06% -0.0285 0.0998)
OKLCHoklch(55.06% 0.104 106)
XYZxyz(14.6486, 16.9650, 3.8692)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7520 #20257A
analogous
#7A4820 #7A7520 #527A20
triadic
#7A7520 #207A75 #75207A
tetradic
#7A7520 #207A48 #20257A #7A2052
square
#7A7520 #207A48 #20257A #7A2052
split-complementary
#7A7520 #20527A #48207A
monochromatic
#191807 #4A4713 #7A7520 #AAA32D #CEC746

Accessibility & contrast

On white

4.78
#7A7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7A7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7520
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7520#FFFFFF#000000##FFFFFF
##7A75201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7112
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#836D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7520;
/* rgb */ color: rgb(122, 117, 32);
/* oklch */ color: oklch(55.1% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#a39c62',
    500: '#7a7520',
    950: '#000000',
  },
}
SCSS
$custom: #7a7520;
$custom-light: #a39c62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7520",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 56.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.10375,
    "h": 106
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#7A7520
secondary
#494EAD
accent
#4FE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7520

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

Preview Lab → · Contrast checker → · Palette generator →

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