#7D6C1B#7D6C1B

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

Color values

HEX#7D6C1B
RGBrgb(125, 108, 27)
HSLhsl(50, 64%, 30%)
HSVhsv(50, 78%, 49%)
CMYKcmyk(0%, 13.6%, 78.4%, 51%)
CIE-LABlab(45.86, -2.46, 44.77)
CIE-LCHlch(45.86, 44.84, 93.14°)
OKLaboklab(53.25% -0.0116 0.0982)
OKLCHoklch(53.25% 0.099 96.7)
XYZxyz(14.0186, 15.1650, 3.2254)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6C1B #1B2C7D
analogous
#7D3B1B #7D6C1B #5D7D1B
triadic
#7D6C1B #1B7D6C #6C1B7D
tetradic
#7D6C1B #1B7D3B #1B2C7D #7D1B5D
square
#7D6C1B #1B7D3B #1B2C7D #7D1B5D
split-complementary
#7D6C1B #1B5D7D #3B1B7D
monochromatic
#191605 #4B4110 #7D6C1B #AF9726 #D5BB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6C1B#FFFFFF#000000##FFFFFF
##7D6C1B1.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)
#78690C
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#87635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6c1b;
/* rgb */ color: rgb(125, 108, 27);
/* oklch */ color: oklch(53.2% 0.099 96.7);
Tailwind
colors: {
  custom: {
    50: '#a6955e',
    500: '#7d6c1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d6c1b;
$custom-light: #a6955e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6c1b",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 49.592,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.09888,
    "h": 96.7
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#7D6C1B
secondary
#4356B1
accent
#5DE740
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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