#7C6F15#7C6F15

#7C6F15 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.105 H 100.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C6F15
RGBrgb(124, 111, 21)
HSLhsl(52, 71%, 28%)
HSVhsv(52, 83%, 49%)
CMYKcmyk(0%, 10.5%, 83.1%, 51.4%)
CIE-LABlab(46.59, -4.89, 47.53)
CIE-LCHlch(46.59, 47.78, 95.88°)
OKLaboklab(53.79% -0.019 0.1029)
OKLCHoklch(53.79% 0.105 100.5)
XYZxyz(14.1327, 15.7088, 2.9970)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6F15 #15227C
analogous
#7C3B15 #7C6F15 #557C15
triadic
#7C6F15 #157C6F #6F157C
tetradic
#7C6F15 #157C3B #15227C #7C1555
square
#7C6F15 #157C3B #15227C #7C1555
split-complementary
#7C6F15 #15557C #3B157C
monochromatic
#1A1704 #48400C #7C6F15 #B09E1E #DCC630

Accessibility & contrast

On white

5.07
#7C6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7C6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6F15
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6F15#FFFFFF#000000##FFFFFF
##7C6F151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#86665E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6f15;
/* rgb */ color: rgb(124, 111, 21);
/* oklch */ color: oklch(53.8% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a6985c',
    500: '#7c6f15',
    950: '#000000',
  },
}
SCSS
$custom: #7c6f15;
$custom-light: #a6985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6f15",
  "rgb": {
    "r": 124,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 52.427,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.1046,
    "h": 100.5
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#7C6F15
secondary
#3C4AB1
accent
#51EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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