#7C7315#7C7315

#7C7315 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.108 H 103.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7C7315
RGBrgb(124, 115, 21)
HSLhsl(55, 71%, 28%)
HSVhsv(55, 83%, 49%)
CMYKcmyk(0%, 7.3%, 83.1%, 51.4%)
CIE-LABlab(47.75, -7.15, 48.55)
CIE-LCHlch(47.75, 49.07, 98.38°)
OKLaboklab(54.72% -0.0253 0.1051)
OKLCHoklch(54.72% 0.108 103.6)
XYZxyz(14.5790, 16.6013, 3.1458)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7315 #151E7C
analogous
#7C3F15 #7C7315 #517C15
triadic
#7C7315 #157C73 #73157C
tetradic
#7C7315 #157C3F #151E7C #7C1551
square
#7C7315 #157C3F #151E7C #7C1551
split-complementary
#7C7315 #15517C #3F157C
monochromatic
#1A1804 #48420C #7C7315 #B0A41E #DCCD30

Accessibility & contrast

On white

4.86
#7C7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7C7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7315
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7315#FFFFFF#000000##FFFFFF
##7C73151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7315;
/* rgb */ color: rgb(124, 115, 21);
/* oklch */ color: oklch(54.7% 0.108 103.6);
Tailwind
colors: {
  custom: {
    50: '#a59b5c',
    500: '#7c7315',
    950: '#000000',
  },
}
SCSS
$custom: #7c7315;
$custom-light: #a59b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7315",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 54.757,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.10808,
    "h": 103.6
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#7C7315
secondary
#3C46B1
accent
#4AEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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