#7C6C15#7C6C15

#7C6C15 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.102 H 98.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C6C15
RGBrgb(124, 108, 21)
HSLhsl(51, 71%, 28%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 12.9%, 83.1%, 51.4%)
CIE-LABlab(45.72, -3.19, 46.76)
CIE-LCHlch(45.72, 46.87, 93.90°)
OKLaboklab(53.1% -0.0142 0.1012)
OKLCHoklch(53.1% 0.102 98)
XYZxyz(13.8108, 15.0651, 2.8897)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6C15 #15257C
analogous
#7C3915 #7C6C15 #587C15
triadic
#7C6C15 #157C6C #6C157C
tetradic
#7C6C15 #157C39 #15257C #7C1558
square
#7C6C15 #157C39 #15257C #7C1558
split-complementary
#7C6C15 #15587C #39157C
monochromatic
#1A1704 #483E0C #7C6C15 #B09A1E #DCC130

Accessibility & contrast

On white

5.23
#7C6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7C6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6C15
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6C15#FFFFFF#000000##FFFFFF
##7C6C151.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#86635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c6c15;
/* rgb */ color: rgb(124, 108, 21);
/* oklch */ color: oklch(53.1% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#a6955b',
    500: '#7c6c15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6c15;
$custom-light: #a6955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6c15",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 50.68,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.1022,
    "h": 98
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#7C6C15
secondary
#3C4EB1
accent
#56EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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