#7D6B15#7D6B15

#7D6B15 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.102 H 96.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6B15
RGBrgb(125, 107, 21)
HSLhsl(50, 71%, 29%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 14.4%, 83.2%, 51%)
CIE-LABlab(45.54, -2.13, 46.64)
CIE-LCHlch(45.54, 46.69, 92.62°)
OKLaboklab(52.98% -0.0113 0.1009)
OKLCHoklch(52.98% 0.102 96.4)
XYZxyz(13.8513, 14.9303, 2.8616)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B15 #15277D
analogous
#7D3715 #7D6B15 #5B7D15
triadic
#7D6B15 #157D6B #6B157D
tetradic
#7D6B15 #157D37 #15277D #7D155B
square
#7D6B15 #157D37 #15277D #7D155B
split-complementary
#7D6B15 #155B7D #37157D
monochromatic
#1A1604 #493E0C #7D6B15 #B1981E #DCBE30

Accessibility & contrast

On white

5.27
#7D6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6B15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B15#FFFFFF#000000##FFFFFF
##7D6B151.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#88625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b15;
/* rgb */ color: rgb(125, 107, 21);
/* oklch */ color: oklch(53.0% 0.102 96.4);
Tailwind
colors: {
  custom: {
    50: '#a6955b',
    500: '#7d6b15',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b15;
$custom-light: #a6955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b15",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 49.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.10152,
    "h": 96.4
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#7D6B15
secondary
#3C50B2
accent
#59EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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