#7C7717#7C7717

#7C7717 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.111 H 106.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7C7717
RGBrgb(124, 119, 23)
HSLhsl(57, 69%, 29%)
HSVhsv(57, 81%, 49%)
CMYKcmyk(0%, 4%, 81.5%, 51.4%)
CIE-LABlab(48.93, -9.30, 48.96)
CIE-LCHlch(48.93, 49.84, 100.76°)
OKLaboklab(55.66% -0.0312 0.1064)
OKLCHoklch(55.66% 0.111 106.3)
XYZxyz(15.0643, 17.5412, 3.4027)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7717 #171C7C
analogous
#7C4517 #7C7717 #4F7C17
triadic
#7C7717 #177C77 #77177C
tetradic
#7C7717 #177C45 #171C7C #7C174F
square
#7C7717 #177C45 #171C7C #7C174F
split-complementary
#7C7717 #174F7C #45177C
monochromatic
#1A1905 #48450D #7C7717 #B0A921 #D9D134

Accessibility & contrast

On white

4.66
#7C7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7C7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7717
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7717#FFFFFF#000000##FFFFFF
##7C77171.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c7717;
/* rgb */ color: rgb(124, 119, 23);
/* oklch */ color: oklch(55.7% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7c7717',
    950: '#000000',
  },
}
SCSS
$custom: #7c7717;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7717",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 57.03,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5566,
    "c": 0.11084,
    "h": 106.3
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#7C7717
secondary
#3E44B1
accent
#45EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7717

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

Preview Lab → · Contrast checker → · Palette generator →

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