#7C6715#7C6715

#7C6715 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.099 H 93.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7C6715
RGBrgb(124, 103, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 49%)
CMYKcmyk(0%, 16.9%, 83.1%, 51.4%)
CIE-LABlab(44.29, -0.30, 45.49)
CIE-LCHlch(44.29, 45.49, 90.38°)
OKLaboklab(51.97% -0.006 0.0985)
OKLCHoklch(51.97% 0.099 93.5)
XYZxyz(13.2986, 14.0405, 2.7190)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6715 #152A7C
analogous
#7C3315 #7C6715 #5D7C15
triadic
#7C6715 #157C67 #67157C
tetradic
#7C6715 #157C33 #152A7C #7C155D
square
#7C6715 #157C33 #152A7C #7C155D
split-complementary
#7C6715 #155D7C #33157C
monochromatic
#1A1604 #483C0C #7C6715 #B0921E #DCB930

Accessibility & contrast

On white

5.51
#7C6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6715
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6715#FFFFFF#000000##FFFFFF
##7C67151.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6715;
/* rgb */ color: rgb(124, 103, 21);
/* oklch */ color: oklch(52.0% 0.099 93.5);
Tailwind
colors: {
  custom: {
    50: '#a6925b',
    500: '#7c6715',
    950: '#000000',
  },
}
SCSS
$custom: #7c6715;
$custom-light: #a6925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6715",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 47.767,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.09865,
    "h": 93.5
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#7C6715
secondary
#3C54B1
accent
#5FEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6715

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

Preview Lab → · Contrast checker → · Palette generator →

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