#7D6D1B#7D6D1B

#7D6D1B is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.100 H 97.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7D6D1B
RGBrgb(125, 109, 27)
HSLhsl(50, 64%, 30%)
HSVhsv(50, 78%, 49%)
CMYKcmyk(0%, 12.8%, 78.4%, 51%)
CIE-LABlab(46.15, -3.03, 45.04)
CIE-LCHlch(46.15, 45.14, 93.85°)
OKLaboklab(53.47% -0.0132 0.0988)
OKLCHoklch(53.47% 0.1 97.6)
XYZxyz(14.1246, 15.3771, 3.2608)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D1B #1B2B7D
analogous
#7D3C1B #7D6D1B #5C7D1B
triadic
#7D6D1B #1B7D6D #6D1B7D
tetradic
#7D6D1B #1B7D3C #1B2B7D #7D1B5C
square
#7D6D1B #1B7D3C #1B2B7D #7D1B5C
split-complementary
#7D6D1B #1B5C7D #3C1B7D
monochromatic
#191605 #4B4110 #7D6D1B #AF9926 #D5BC3D

Accessibility & contrast

On white

5.15
#7D6D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7D6D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D1B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D1B#FFFFFF#000000##FFFFFF
##7D6D1B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0B
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#87645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6d1b;
/* rgb */ color: rgb(125, 109, 27);
/* oklch */ color: oklch(53.5% 0.100 97.6);
Tailwind
colors: {
  custom: {
    50: '#a6965e',
    500: '#7d6d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d1b;
$custom-light: #a6965e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d1b",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 50.204,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.09965,
    "h": 97.6
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#7D6D1B
secondary
#4355B1
accent
#5CE740
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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