#7C6815#7C6815

#7C6815 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.099 H 94.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7C6815
RGBrgb(124, 104, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 49%)
CMYKcmyk(0%, 16.1%, 83.1%, 51.4%)
CIE-LABlab(44.58, -0.88, 45.75)
CIE-LCHlch(44.58, 45.75, 91.10°)
OKLaboklab(52.2% -0.0077 0.099)
OKLCHoklch(52.2% 0.099 94.4)
XYZxyz(13.3986, 14.2406, 2.7523)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6815 #15297C
analogous
#7C3515 #7C6815 #5C7C15
triadic
#7C6815 #157C68 #68157C
tetradic
#7C6815 #157C35 #15297C #7C155C
square
#7C6815 #157C35 #15297C #7C155C
split-complementary
#7C6815 #155C7C #35157C
monochromatic
#1A1604 #483C0C #7C6815 #B0941E #DCBA30

Accessibility & contrast

On white

5.46
#7C6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6815
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6815#FFFFFF#000000##FFFFFF
##7C68151.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#875F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6815;
/* rgb */ color: rgb(124, 104, 21);
/* oklch */ color: oklch(52.2% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#a6925b',
    500: '#7c6815',
    950: '#000000',
  },
}
SCSS
$custom: #7c6815;
$custom-light: #a6925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6815",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 48.35,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.09932,
    "h": 94.4
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#7C6815
secondary
#3C52B1
accent
#5DEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7C6815

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

Preview Lab → · Contrast checker → · Palette generator →

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