#7D661C#7D661C

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

Color values

HEX#7D661C
RGBrgb(125, 102, 28)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 78%, 49%)
CMYKcmyk(0%, 18.4%, 77.6%, 51%)
CIE-LABlab(44.16, 1.06, 42.76)
CIE-LCHlch(44.16, 42.77, 88.59°)
OKLaboklab(51.9% -0.0014 0.0941)
OKLCHoklch(51.9% 0.094 90.9)
XYZxyz(13.4192, 13.9474, 3.0837)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D661C #1C337D
analogous
#7D351C #7D661C #647D1C
triadic
#7D661C #1C7D66 #661C7D
tetradic
#7D661C #1C7D35 #1C337D #7D1C64
square
#7D661C #1C7D35 #1C337D #7D1C64
split-complementary
#7D661C #1C647D #351C7D
monochromatic
#191406 #4B3D11 #7D661C #AF8F27 #D4B13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D661C#FFFFFF#000000##FFFFFF
##7D661C1.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)
#726510
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#885D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d661c;
/* rgb */ color: rgb(125, 102, 28);
/* oklch */ color: oklch(51.9% 0.094 90.9);
Tailwind
colors: {
  custom: {
    50: '#a6915e',
    500: '#7d661c',
    950: '#000000',
  },
}
SCSS
$custom: #7d661c;
$custom-light: #a6915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d661c",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 45.773,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.09414,
    "h": 90.9
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#7D661C
secondary
#445EB1
accent
#69E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D661C

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

Preview Lab → · Contrast checker → · Palette generator →

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