#7C6615#7C6615

#7C6615 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.098 H 92.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C6615
RGBrgb(124, 102, 21)
HSLhsl(47, 71%, 28%)
HSVhsv(47, 83%, 49%)
CMYKcmyk(0%, 17.7%, 83.1%, 51.4%)
CIE-LABlab(44.01, 0.28, 45.24)
CIE-LCHlch(44.01, 45.24, 89.65°)
OKLaboklab(51.75% -0.0044 0.0979)
OKLCHoklch(51.75% 0.098 92.6)
XYZxyz(13.1997, 13.8428, 2.6860)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6615 #152B7C
analogous
#7C3215 #7C6615 #5E7C15
triadic
#7C6615 #157C66 #66157C
tetradic
#7C6615 #157C32 #152B7C #7C155E
square
#7C6615 #157C32 #152B7C #7C155E
split-complementary
#7C6615 #155E7C #32157C
monochromatic
#1A1604 #483B0C #7C6615 #B0911E #DCB730

Accessibility & contrast

On white

5.57
#7C6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6615
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6615#FFFFFF#000000##FFFFFF
##7C66151.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#786B1A
Tritanopia (blue-blind)
#875D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c6615;
/* rgb */ color: rgb(124, 102, 21);
/* oklch */ color: oklch(51.7% 0.098 92.6);
Tailwind
colors: {
  custom: {
    50: '#a6915a',
    500: '#7c6615',
    950: '#000000',
  },
}
SCSS
$custom: #7c6615;
$custom-light: #a6915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6615",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 47.184,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.09802,
    "h": 92.6
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#7C6615
secondary
#3C55B1
accent
#60EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6615

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

Preview Lab → · Contrast checker → · Palette generator →

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