#7C7317#7C7317

#7C7317 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.107 H 103.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7C7317
RGBrgb(124, 115, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 81%, 49%)
CMYKcmyk(0%, 7.3%, 81.5%, 51.4%)
CIE-LABlab(47.76, -7.08, 47.91)
CIE-LCHlch(47.76, 48.43, 98.40°)
OKLaboklab(54.73% -0.0249 0.1041)
OKLCHoklch(54.73% 0.107 103.5)
XYZxyz(14.5982, 16.6090, 3.2474)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7317 #17207C
analogous
#7C4117 #7C7317 #537C17
triadic
#7C7317 #177C73 #73177C
tetradic
#7C7317 #177C41 #17207C #7C1753
square
#7C7317 #177C41 #17207C #7C1753
split-complementary
#7C7317 #17537C #41177C
monochromatic
#1A1805 #48430D #7C7317 #B0A321 #D9CB34

Accessibility & contrast

On white

4.86
#7C7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7C7317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7317
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7317#FFFFFF#000000##FFFFFF
##7C73171.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7317;
/* rgb */ color: rgb(124, 115, 23);
/* oklch */ color: oklch(54.7% 0.107 103.5);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7c7317',
    950: '#000000',
  },
}
SCSS
$custom: #7c7317;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7317",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 54.653,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.10707,
    "h": 103.5
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#7C7317
secondary
#3E48B1
accent
#4CEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7317

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

Preview Lab → · Contrast checker → · Palette generator →

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