#7C6317#7C6317

#7C6317 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.1% C 0.095 H 89.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C6317
RGBrgb(124, 99, 23)
HSLhsl(45, 69%, 29%)
HSVhsv(45, 81%, 49%)
CMYKcmyk(0%, 20.2%, 81.5%, 51.4%)
CIE-LABlab(43.17, 2.11, 43.76)
CIE-LCHlch(43.17, 43.81, 87.24°)
OKLaboklab(51.09% 0.0011 0.0952)
OKLCHoklch(51.09% 0.095 89.4)
XYZxyz(12.9295, 13.2715, 2.6911)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6317 #17307C
analogous
#7C3117 #7C6317 #637C17
triadic
#7C6317 #177C63 #63177C
tetradic
#7C6317 #177C31 #17307C #7C1763
square
#7C6317 #177C31 #17307C #7C1763
split-complementary
#7C6317 #17637C #31177C
monochromatic
#1A1505 #483A0D #7C6317 #B08C21 #D9B034

Accessibility & contrast

On white

5.75
#7C6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6317
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6317#FFFFFF#000000##FFFFFF
##7C63171.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#875A55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c6317;
/* rgb */ color: rgb(124, 99, 23);
/* oklch */ color: oklch(51.1% 0.095 89.4);
Tailwind
colors: {
  custom: {
    50: '#a68f5b',
    500: '#7c6317',
    950: '#000000',
  },
}
SCSS
$custom: #7c6317;
$custom-light: #a68f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6317",
  "rgb": {
    "r": 124,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 45.149,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.09521,
    "h": 89.4
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#7C6317
secondary
#3E5AB1
accent
#68EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6317

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

Preview Lab → · Contrast checker → · Palette generator →

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