#7C7617#7C7617

#7C7617 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.110 H 105.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7C7617
RGBrgb(124, 118, 23)
HSLhsl(56, 69%, 29%)
HSVhsv(56, 81%, 49%)
CMYKcmyk(0%, 4.8%, 81.5%, 51.4%)
CIE-LABlab(48.64, -8.75, 48.70)
CIE-LCHlch(48.64, 49.48, 100.19°)
OKLaboklab(55.43% -0.0296 0.1058)
OKLCHoklch(55.43% 0.11 105.7)
XYZxyz(14.9459, 17.3044, 3.3633)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7617 #171D7C
analogous
#7C4417 #7C7617 #507C17
triadic
#7C7617 #177C76 #76177C
tetradic
#7C7617 #177C44 #171D7C #7C1750
square
#7C7617 #177C44 #171D7C #7C1750
split-complementary
#7C7617 #17507C #44177C
monochromatic
#1A1905 #48450D #7C7617 #B0A721 #D9D034

Accessibility & contrast

On white

4.71
#7C7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7617
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7617#FFFFFF#000000##FFFFFF
##7C76171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7617;
/* rgb */ color: rgb(124, 118, 23);
/* oklch */ color: oklch(55.4% 0.110 105.7);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7c7617',
    950: '#000000',
  },
}
SCSS
$custom: #7c7617;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7617",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 56.436,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.10987,
    "h": 105.7
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#7C7617
secondary
#3E45B1
accent
#47EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7617

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

Preview Lab → · Contrast checker → · Palette generator →

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