#7D661F#7D661F

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

Color values

HEX#7D661F
RGBrgb(125, 102, 31)
HSLhsl(45, 60%, 31%)
HSVhsv(45, 75%, 49%)
CMYKcmyk(0%, 18.4%, 75.2%, 51%)
CIE-LABlab(44.18, 1.21, 41.51)
CIE-LCHlch(44.18, 41.53, 88.34°)
OKLaboklab(51.93% -0.0006 0.0921)
OKLCHoklch(51.93% 0.092 90.4)
XYZxyz(13.4569, 13.9625, 3.2823)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D661F #1F367D
analogous
#7D371F #7D661F #657D1F
triadic
#7D661F #1F7D66 #661F7D
tetradic
#7D661F #1F7D37 #1F367D #7D1F65
square
#7D661F #1F7D37 #1F367D #7D1F65
split-complementary
#7D661F #1F657D #371F7D
monochromatic
#1B1607 #4C3E13 #7D661F #AE8E2B #D1AF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D661F#FFFFFF#000000##FFFFFF
##7D661F1.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)
#726514
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#885D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d661f;
/* rgb */ color: rgb(125, 102, 31);
/* oklch */ color: oklch(51.9% 0.092 90.4);
Tailwind
colors: {
  custom: {
    50: '#a69160',
    500: '#7d661f',
    950: '#000000',
  },
}
SCSS
$custom: #7d661f;
$custom-light: #a69160;
$custom-dark: #000000;
JSON
{
  "hex": "#7d661f",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 45.319,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.09212,
    "h": 90.4
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#7D661F
secondary
#4861B0
accent
#6BE344
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D661F

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

Preview Lab → · Contrast checker → · Palette generator →

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