#7C6315#7C6315

#7C6315 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.1% C 0.096 H 89.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C6315
RGBrgb(124, 99, 21)
HSLhsl(45, 71%, 28%)
HSVhsv(45, 83%, 49%)
CMYKcmyk(0%, 20.2%, 83.1%, 51.4%)
CIE-LABlab(43.16, 2.03, 44.48)
CIE-LCHlch(43.16, 44.53, 87.39°)
OKLaboklab(51.08% 0.0006 0.0963)
OKLCHoklch(51.08% 0.096 89.6)
XYZxyz(12.9102, 13.2638, 2.5895)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6315 #152E7C
analogous
#7C2F15 #7C6315 #617C15
triadic
#7C6315 #157C63 #63157C
tetradic
#7C6315 #157C2F #152E7C #7C1561
square
#7C6315 #157C2F #152E7C #7C1561
split-complementary
#7C6315 #15617C #2F157C
monochromatic
#1A1504 #48390C #7C6315 #B08D1E #DCB230

Accessibility & contrast

On white

5.75
#7C6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6315
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6315#FFFFFF#000000##FFFFFF
##7C63151.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#875A54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c6315;
/* rgb */ color: rgb(124, 99, 21);
/* oklch */ color: oklch(51.1% 0.096 89.6);
Tailwind
colors: {
  custom: {
    50: '#a68f5a',
    500: '#7c6315',
    950: '#000000',
  },
}
SCSS
$custom: #7c6315;
$custom-light: #a68f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6315",
  "rgb": {
    "r": 124,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 45.437,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.09629,
    "h": 89.6
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#7C6315
secondary
#3C58B1
accent
#66EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6315

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

Preview Lab → · Contrast checker → · Palette generator →

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