#7D6C15#7D6C15

#7D6C15 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.2% C 0.102 H 97.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D6C15
RGBrgb(125, 108, 21)
HSLhsl(50, 71%, 29%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 13.6%, 83.2%, 51%)
CIE-LABlab(45.83, -2.71, 46.89)
CIE-LCHlch(45.83, 46.97, 93.30°)
OKLaboklab(53.21% -0.0129 0.1014)
OKLCHoklch(53.21% 0.102 97.2)
XYZxyz(13.9561, 15.1400, 2.8965)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6C15 #15267D
analogous
#7D3815 #7D6C15 #5A7D15
triadic
#7D6C15 #157D6C #6C157D
tetradic
#7D6C15 #157D38 #15267D #7D155A
square
#7D6C15 #157D38 #15267D #7D155A
split-complementary
#7D6C15 #155A7D #38157D
monochromatic
#1A1704 #493F0C #7D6C15 #B1991E #DCC030

Accessibility & contrast

On white

5.21
#7D6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6C15
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6C15#FFFFFF#000000##FFFFFF
##7D6C151.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#88635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6c15;
/* rgb */ color: rgb(125, 108, 21);
/* oklch */ color: oklch(53.2% 0.102 97.2);
Tailwind
colors: {
  custom: {
    50: '#a6955b',
    500: '#7d6c15',
    950: '#000000',
  },
}
SCSS
$custom: #7d6c15;
$custom-light: #a6955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6c15",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 50.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.10226,
    "h": 97.2
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#7D6C15
secondary
#3C4FB2
accent
#57EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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