#7C7718#7C7718

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

Color values

HEX#7C7718
RGBrgb(124, 119, 24)
HSLhsl(57, 68%, 29%)
HSVhsv(57, 81%, 49%)
CMYKcmyk(0%, 4%, 80.6%, 51.4%)
CIE-LABlab(48.94, -9.27, 48.64)
CIE-LCHlch(48.94, 49.51, 100.79°)
OKLaboklab(55.67% -0.031 0.1059)
OKLCHoklch(55.67% 0.11 106.3)
XYZxyz(15.0745, 17.5453, 3.4565)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7718 #181D7C
analogous
#7C4518 #7C7718 #4F7C18
triadic
#7C7718 #187C77 #77187C
tetradic
#7C7718 #187C45 #181D7C #7C184F
square
#7C7718 #187C45 #181D7C #7C184F
split-complementary
#7C7718 #184F7C #45187C
monochromatic
#1A1905 #49460E #7C7718 #AFA822 #D8D036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7718#FFFFFF#000000##FFFFFF
##7C77181.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)
#847620
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c7718;
/* rgb */ color: rgb(124, 119, 24);
/* oklch */ color: oklch(55.7% 0.110 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7c7718',
    950: '#000000',
  },
}
SCSS
$custom: #7c7718;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7718",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 57,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.11031,
    "h": 106.3
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#7C7718
secondary
#3F45B1
accent
#46EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7718

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

Preview Lab → · Contrast checker → · Palette generator →

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