#7C6E15#7C6E15

#7C6E15 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.104 H 99.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C6E15
RGBrgb(124, 110, 21)
HSLhsl(52, 71%, 28%)
HSVhsv(52, 83%, 49%)
CMYKcmyk(0%, 11.3%, 83.1%, 51.4%)
CIE-LABlab(46.30, -4.33, 47.27)
CIE-LCHlch(46.30, 47.47, 95.23°)
OKLaboklab(53.56% -0.0174 0.1023)
OKLCHoklch(53.56% 0.104 99.7)
XYZxyz(14.0242, 15.4918, 2.9608)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6E15 #15237C
analogous
#7C3A15 #7C6E15 #567C15
triadic
#7C6E15 #157C6E #6E157C
tetradic
#7C6E15 #157C3A #15237C #7C1556
square
#7C6E15 #157C3A #15237C #7C1556
split-complementary
#7C6E15 #15567C #3A157C
monochromatic
#1A1704 #48400C #7C6E15 #B09C1E #DCC430

Accessibility & contrast

On white

5.12
#7C6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7C6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6E15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6E15#FFFFFF#000000##FFFFFF
##7C6E151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#86655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6e15;
/* rgb */ color: rgb(124, 110, 21);
/* oklch */ color: oklch(53.6% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#a6975c',
    500: '#7c6e15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6e15;
$custom-light: #a6975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6e15",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 51.845,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.10378,
    "h": 99.7
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#7C6E15
secondary
#3C4CB1
accent
#52EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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