#7C6D15#7C6D15

#7C6D15 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.103 H 98.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C6D15
RGBrgb(124, 109, 21)
HSLhsl(51, 71%, 28%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 12.1%, 83.1%, 51.4%)
CIE-LABlab(46.01, -3.76, 47.02)
CIE-LCHlch(46.01, 47.17, 94.57°)
OKLaboklab(53.33% -0.0158 0.1018)
OKLCHoklch(53.33% 0.103 98.8)
XYZxyz(13.9169, 15.2772, 2.9251)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D15 #15247C
analogous
#7C3915 #7C6D15 #577C15
triadic
#7C6D15 #157C6D #6D157C
tetradic
#7C6D15 #157C39 #15247C #7C1557
square
#7C6D15 #157C39 #15247C #7C1557
split-complementary
#7C6D15 #15577C #39157C
monochromatic
#1A1704 #483F0C #7C6D15 #B09B1E #DCC330

Accessibility & contrast

On white

5.18
#7C6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D15
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D15#FFFFFF#000000##FFFFFF
##7C6D151.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d15;
/* rgb */ color: rgb(124, 109, 21);
/* oklch */ color: oklch(53.3% 0.103 98.8);
Tailwind
colors: {
  custom: {
    50: '#a6965b',
    500: '#7c6d15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d15;
$custom-light: #a6965b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d15",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 51.262,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.10298,
    "h": 98.8
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#7C6D15
secondary
#3C4DB1
accent
#54EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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