#7C7417#7C7417

#7C7417 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.108 H 104.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7417
RGBrgb(124, 116, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 6.5%, 81.5%, 51.4%)
CIE-LABlab(48.06, -7.64, 48.18)
CIE-LCHlch(48.06, 48.78, 99.01°)
OKLaboklab(54.96% -0.0265 0.1047)
OKLCHoklch(54.96% 0.108 104.2)
XYZxyz(14.7129, 16.8383, 3.2856)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7417 #171F7C
analogous
#7C4217 #7C7417 #527C17
triadic
#7C7417 #177C74 #74177C
tetradic
#7C7417 #177C42 #171F7C #7C1752
square
#7C7417 #177C42 #171F7C #7C1752
split-complementary
#7C7417 #17527C #42177C
monochromatic
#1A1805 #48440D #7C7417 #B0A421 #D9CC34

Accessibility & contrast

On white

4.81
#7C7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7417
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7417#FFFFFF#000000##FFFFFF
##7C74171.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7417;
/* rgb */ color: rgb(124, 116, 23);
/* oklch */ color: oklch(55.0% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7c7417',
    950: '#000000',
  },
}
SCSS
$custom: #7c7417;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7417",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 55.248,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.10799,
    "h": 104.2
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#7C7417
secondary
#3E47B1
accent
#4AEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7417

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

Preview Lab → · Contrast checker → · Palette generator →

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