#7C7522#7C7522

#7C7522 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.102 H 104.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C7522
RGBrgb(124, 117, 34)
HSLhsl(55, 57%, 31%)
HSVhsv(55, 73%, 49%)
CMYKcmyk(0%, 5.6%, 72.6%, 51.4%)
CIE-LABlab(48.42, -7.68, 44.41)
CIE-LCHlch(48.42, 45.07, 99.81°)
OKLaboklab(55.27% -0.0255 0.0989)
OKLCHoklch(55.27% 0.102 104.5)
XYZxyz(14.9628, 17.1237, 4.0301)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7522 #22297C
analogous
#7C4822 #7C7522 #567C22
triadic
#7C7522 #227C75 #75227C
tetradic
#7C7522 #227C48 #22297C #7C2256
square
#7C7522 #227C48 #22297C #7C2256
split-complementary
#7C7522 #22567C #48227C
monochromatic
#1C1A08 #4C4815 #7C7522 #ACA22F #CEC34B

Accessibility & contrast

On white

4.75
#7C7522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7C7522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7522
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7522#FFFFFF#000000##FFFFFF
##7C75221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7522;
/* rgb */ color: rgb(124, 117, 34);
/* oklch */ color: oklch(55.3% 0.102 104.5);
Tailwind
colors: {
  custom: {
    50: '#a59c63',
    500: '#7c7522',
    950: '#000000',
  },
}
SCSS
$custom: #7c7522;
$custom-light: #a59c63;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7522",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 55.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.10213,
    "h": 104.5
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#7C7522
secondary
#4B53AF
accent
#53E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C7522

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

Preview Lab → · Contrast checker → · Palette generator →

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