#7C7615#7C7615

#7C7615 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.111 H 105.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7C7615
RGBrgb(124, 118, 21)
HSLhsl(57, 71%, 28%)
HSVhsv(57, 83%, 49%)
CMYKcmyk(0%, 4.8%, 83.1%, 51.4%)
CIE-LABlab(48.63, -8.83, 49.32)
CIE-LCHlch(48.63, 50.10, 100.14°)
OKLaboklab(55.42% -0.03 0.1067)
OKLCHoklch(55.42% 0.111 105.7)
XYZxyz(14.9266, 17.2967, 3.2617)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7615 #151B7C
analogous
#7C4215 #7C7615 #4E7C15
triadic
#7C7615 #157C76 #76157C
tetradic
#7C7615 #157C42 #151B7C #7C154E
square
#7C7615 #157C42 #151B7C #7C154E
split-complementary
#7C7615 #154E7C #42157C
monochromatic
#1A1904 #48440C #7C7615 #B0A81E #DCD230

Accessibility & contrast

On white

4.71
#7C7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C7615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7615
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7615#FFFFFF#000000##FFFFFF
##7C76151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7615;
/* rgb */ color: rgb(124, 118, 21);
/* oklch */ color: oklch(55.4% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#a59d5d',
    500: '#7c7615',
    950: '#000000',
  },
}
SCSS
$custom: #7c7615;
$custom-light: #a59d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7615",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 56.505,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.11087,
    "h": 105.7
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#7C7615
secondary
#3C42B1
accent
#44EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7615

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

Preview Lab → · Contrast checker → · Palette generator →

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