#7D661D#7D661D

#7D661D is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.093 H 90.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D661D
RGBrgb(125, 102, 29)
HSLhsl(46, 62%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 18.4%, 76.8%, 51%)
CIE-LABlab(44.16, 1.10, 42.35)
CIE-LCHlch(44.16, 42.36, 88.51°)
OKLaboklab(51.91% -0.0012 0.0935)
OKLCHoklch(51.91% 0.093 90.7)
XYZxyz(13.4314, 13.9523, 3.1478)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D661D #1D347D
analogous
#7D361D #7D661D #647D1D
triadic
#7D661D #1D7D66 #661D7D
tetradic
#7D661D #1D7D36 #1D347D #7D1D64
square
#7D661D #1D7D36 #1D347D #7D1D64
split-complementary
#7D661D #1D647D #361D7D
monochromatic
#1A1506 #4B3D11 #7D661D #AF8F29 #D3B041

Accessibility & contrast

On white

5.54
#7D661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D661D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D661D#FFFFFF#000000##FFFFFF
##7D661D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726511
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#885D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d661d;
/* rgb */ color: rgb(125, 102, 29);
/* oklch */ color: oklch(51.9% 0.093 90.7);
Tailwind
colors: {
  custom: {
    50: '#a6915e',
    500: '#7d661d',
    950: '#000000',
  },
}
SCSS
$custom: #7d661d;
$custom-light: #a6915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d661d",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 45.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.09349,
    "h": 90.7
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#7D661D
secondary
#455FB1
accent
#69E542
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D661D

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

Preview Lab → · Contrast checker → · Palette generator →

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