#7C6D17#7C6D17

#7C6D17 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.102 H 98.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C6D17
RGBrgb(124, 109, 23)
HSLhsl(51, 69%, 29%)
HSVhsv(51, 81%, 49%)
CMYKcmyk(0%, 12.1%, 81.5%, 51.4%)
CIE-LABlab(46.02, -3.68, 46.35)
CIE-LCHlch(46.02, 46.49, 94.54°)
OKLaboklab(53.34% -0.0154 0.1008)
OKLCHoklch(53.34% 0.102 98.7)
XYZxyz(13.9362, 15.2849, 3.0267)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D17 #17267C
analogous
#7C3B17 #7C6D17 #597C17
triadic
#7C6D17 #177C6D #6D177C
tetradic
#7C6D17 #177C3B #17267C #7C1759
square
#7C6D17 #177C3B #17267C #7C1759
split-complementary
#7C6D17 #17597C #3B177C
monochromatic
#1A1705 #48400D #7C6D17 #B09A21 #D9C134

Accessibility & contrast

On white

5.18
#7C6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D17#FFFFFF#000000##FFFFFF
##7C6D171.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d17;
/* rgb */ color: rgb(124, 109, 23);
/* oklch */ color: oklch(53.3% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#a5965c',
    500: '#7c6d17',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d17;
$custom-light: #a5965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d17",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 51.089,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.10193,
    "h": 98.7
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#7C6D17
secondary
#3E4FB1
accent
#56EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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