#7C6E17#7C6E17

#7C6E17 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.103 H 99.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C6E17
RGBrgb(124, 110, 23)
HSLhsl(52, 69%, 29%)
HSVhsv(52, 81%, 49%)
CMYKcmyk(0%, 11.3%, 81.5%, 51.4%)
CIE-LABlab(46.31, -4.25, 46.61)
CIE-LCHlch(46.31, 46.80, 95.21°)
OKLaboklab(53.57% -0.017 0.1013)
OKLCHoklch(53.57% 0.103 99.5)
XYZxyz(14.0435, 15.4995, 3.0624)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6E17 #17257C
analogous
#7C3C17 #7C6E17 #587C17
triadic
#7C6E17 #177C6E #6E177C
tetradic
#7C6E17 #177C3C #17257C #7C1758
square
#7C6E17 #177C3C #17257C #7C1758
split-complementary
#7C6E17 #17587C #3C177C
monochromatic
#1A1705 #48400D #7C6E17 #B09C21 #D9C234

Accessibility & contrast

On white

5.12
#7C6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7C6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6E17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6E17#FFFFFF#000000##FFFFFF
##7C6E171.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#86655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6e17;
/* rgb */ color: rgb(124, 110, 23);
/* oklch */ color: oklch(53.6% 0.103 99.5);
Tailwind
colors: {
  custom: {
    50: '#a5975c',
    500: '#7c6e17',
    950: '#000000',
  },
}
SCSS
$custom: #7c6e17;
$custom-light: #a5975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6e17",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 51.683,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.10274,
    "h": 99.5
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#7C6E17
secondary
#3E4EB1
accent
#55EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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