#7C7515#7C7515

#7C7515 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.110 H 105.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7515
RGBrgb(124, 117, 21)
HSLhsl(56, 71%, 28%)
HSVhsv(56, 83%, 49%)
CMYKcmyk(0%, 5.6%, 83.1%, 51.4%)
CIE-LABlab(48.34, -8.27, 49.06)
CIE-LCHlch(48.34, 49.76, 99.57°)
OKLaboklab(55.18% -0.0285 0.1062)
OKLCHoklch(55.18% 0.11 105)
XYZxyz(14.8095, 17.0624, 3.2226)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7515 #151C7C
analogous
#7C4115 #7C7515 #4F7C15
triadic
#7C7515 #157C75 #75157C
tetradic
#7C7515 #157C41 #151C7C #7C154F
square
#7C7515 #157C41 #151C7C #7C154F
split-complementary
#7C7515 #154F7C #41157C
monochromatic
#1A1904 #48440C #7C7515 #B0A61E #DCD030

Accessibility & contrast

On white

4.76
#7C7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7515
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7515#FFFFFF#000000##FFFFFF
##7C75151.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7515;
/* rgb */ color: rgb(124, 117, 21);
/* oklch */ color: oklch(55.2% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#a59c5d',
    500: '#7c7515',
    950: '#000000',
  },
}
SCSS
$custom: #7c7515;
$custom-light: #a59c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7515",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 55.922,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.10993,
    "h": 105
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#7C7515
secondary
#3C44B1
accent
#46EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7515

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

Preview Lab → · Contrast checker → · Palette generator →

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