#7D6D15#7D6D15

#7D6D15 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.103 H 98.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D6D15
RGBrgb(125, 109, 21)
HSLhsl(51, 71%, 29%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 12.8%, 83.2%, 51%)
CIE-LABlab(46.11, -3.28, 47.15)
CIE-LCHlch(46.11, 47.26, 93.98°)
OKLaboklab(53.44% -0.0145 0.102)
OKLCHoklch(53.44% 0.103 98.1)
XYZxyz(14.0622, 15.3521, 2.9319)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D15 #15257D
analogous
#7D3915 #7D6D15 #597D15
triadic
#7D6D15 #157D6D #6D157D
tetradic
#7D6D15 #157D39 #15257D #7D1559
square
#7D6D15 #157D39 #15257D #7D1559
split-complementary
#7D6D15 #15597D #39157D
monochromatic
#1A1704 #493F0C #7D6D15 #B19B1E #DCC230

Accessibility & contrast

On white

5.16
#7D6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D15
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D15#FFFFFF#000000##FFFFFF
##7D6D151.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6d15;
/* rgb */ color: rgb(125, 109, 21);
/* oklch */ color: oklch(53.4% 0.103 98.1);
Tailwind
colors: {
  custom: {
    50: '#a6965b',
    500: '#7d6d15',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d15;
$custom-light: #a6965b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d15",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 50.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.10302,
    "h": 98.1
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#7D6D15
secondary
#3C4EB2
accent
#56EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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