#7D661A#7D661A

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

Color values

HEX#7D661A
RGBrgb(125, 102, 26)
HSLhsl(46, 66%, 30%)
HSVhsv(46, 79%, 49%)
CMYKcmyk(0%, 18.4%, 79.2%, 51%)
CIE-LABlab(44.14, 0.96, 43.55)
CIE-LCHlch(44.14, 43.56, 88.73°)
OKLaboklab(51.89% -0.0019 0.0954)
OKLCHoklch(51.89% 0.095 91.2)
XYZxyz(13.3960, 13.9381, 2.9618)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D661A #1A317D
analogous
#7D351A #7D661A #627D1A
triadic
#7D661A #1A7D66 #661A7D
tetradic
#7D661A #1A7D35 #1A317D #7D1A62
square
#7D661A #1A7D35 #1A317D #7D1A62
split-complementary
#7D661A #1A627D #351A7D
monochromatic
#191505 #4A3D0F #7D661A #B08F25 #D6B23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D661A#FFFFFF#000000##FFFFFF
##7D661A1.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)
#72650C
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#885D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d661a;
/* rgb */ color: rgb(125, 102, 26);
/* oklch */ color: oklch(51.9% 0.095 91.2);
Tailwind
colors: {
  custom: {
    50: '#a6915d',
    500: '#7d661a',
    950: '#000000',
  },
}
SCSS
$custom: #7d661a;
$custom-light: #a6915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d661a",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 46.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.09539,
    "h": 91.2
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#7D661A
secondary
#425CB1
accent
#67E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D661A

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

Preview Lab → · Contrast checker → · Palette generator →

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