#7C6F17#7C6F17

#7C6F17 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.104 H 100.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C6F17
RGBrgb(124, 111, 23)
HSLhsl(52, 69%, 29%)
HSVhsv(52, 81%, 49%)
CMYKcmyk(0%, 10.5%, 81.5%, 51.4%)
CIE-LABlab(46.60, -4.82, 46.87)
CIE-LCHlch(46.60, 47.12, 95.87°)
OKLaboklab(53.8% -0.0186 0.1019)
OKLCHoklch(53.8% 0.104 100.4)
XYZxyz(14.1520, 15.7165, 3.0986)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F17 #17247C
analogous
#7C3D17 #7C6F17 #577C17
triadic
#7C6F17 #177C6F #6F177C
tetradic
#7C6F17 #177C3D #17247C #7C1757
square
#7C6F17 #177C3D #17247C #7C1757
split-complementary
#7C6F17 #17577C #3D177C
monochromatic
#1A1705 #48410D #7C6F17 #B09D21 #D9C434

Accessibility & contrast

On white

5.07
#7C6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7C6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F17#FFFFFF#000000##FFFFFF
##7C6F171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#86665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6f17;
/* rgb */ color: rgb(124, 111, 23);
/* oklch */ color: oklch(53.8% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#a5985d',
    500: '#7c6f17',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f17;
$custom-light: #a5985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f17",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 52.277,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.10357,
    "h": 100.4
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#7C6F17
secondary
#3E4DB1
accent
#53EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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