#7C6417#7C6417

#7C6417 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.096 H 90.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7C6417
RGBrgb(124, 100, 23)
HSLhsl(46, 69%, 29%)
HSVhsv(46, 81%, 49%)
CMYKcmyk(0%, 19.4%, 81.5%, 51.4%)
CIE-LABlab(43.45, 1.52, 44.02)
CIE-LCHlch(43.45, 44.04, 88.02°)
OKLaboklab(51.31% -0.0006 0.0958)
OKLCHoklch(51.31% 0.096 90.4)
XYZxyz(13.0248, 13.4621, 2.7229)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6417 #172F7C
analogous
#7C3217 #7C6417 #627C17
triadic
#7C6417 #177C64 #64177C
tetradic
#7C6417 #177C32 #172F7C #7C1762
square
#7C6417 #177C32 #172F7C #7C1762
split-complementary
#7C6417 #17627C #32177C
monochromatic
#1A1505 #483A0D #7C6417 #B08E21 #D9B234

Accessibility & contrast

On white

5.69
#7C6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6417
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6417#FFFFFF#000000##FFFFFF
##7C64171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#875B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c6417;
/* rgb */ color: rgb(124, 100, 23);
/* oklch */ color: oklch(51.3% 0.096 90.4);
Tailwind
colors: {
  custom: {
    50: '#a68f5b',
    500: '#7c6417',
    950: '#000000',
  },
}
SCSS
$custom: #7c6417;
$custom-light: #a68f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6417",
  "rgb": {
    "r": 124,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 45.743,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.09575,
    "h": 90.4
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#7C6417
secondary
#3E59B1
accent
#66EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6417

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

Preview Lab → · Contrast checker → · Palette generator →

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