#7D661E#7D661E

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

Color values

HEX#7D661E
RGBrgb(125, 102, 30)
HSLhsl(45, 61%, 30%)
HSVhsv(45, 76%, 49%)
CMYKcmyk(0%, 18.4%, 76%, 51%)
CIE-LABlab(44.17, 1.15, 41.93)
CIE-LCHlch(44.17, 41.95, 88.42°)
OKLaboklab(51.92% -0.0009 0.0928)
OKLCHoklch(51.92% 0.093 90.6)
XYZxyz(13.4439, 13.9573, 3.2140)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D661E #1E357D
analogous
#7D371E #7D661E #647D1E
triadic
#7D661E #1E7D66 #661E7D
tetradic
#7D661E #1E7D37 #1E357D #7D1E64
square
#7D661E #1E7D37 #1E357D #7D1E64
split-complementary
#7D661E #1E647D #371E7D
monochromatic
#1A1506 #4C3E12 #7D661E #AE8E2A #D2AF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D661E#FFFFFF#000000##FFFFFF
##7D661E1.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)
#726513
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#885D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d661e;
/* rgb */ color: rgb(125, 102, 30);
/* oklch */ color: oklch(51.9% 0.093 90.6);
Tailwind
colors: {
  custom: {
    50: '#a6915f',
    500: '#7d661e',
    950: '#000000',
  },
}
SCSS
$custom: #7d661e;
$custom-light: #a6915f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d661e",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 45.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.09281,
    "h": 90.6
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#7D661E
secondary
#4660B0
accent
#6AE443
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D661E

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

Preview Lab → · Contrast checker → · Palette generator →

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