#7C661D#7C661D

#7C661D is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.093 H 91.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C661D
RGBrgb(124, 102, 29)
HSLhsl(46, 62%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 17.7%, 76.6%, 51.4%)
CIE-LABlab(44.06, 0.63, 42.21)
CIE-LCHlch(44.06, 42.21, 89.15°)
OKLaboklab(51.8% -0.0025 0.0932)
OKLCHoklch(51.8% 0.093 91.5)
XYZxyz(13.2861, 13.8773, 3.1410)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661D #1D337C
analogous
#7C361D #7C661D #637C1D
triadic
#7C661D #1D7C66 #661D7C
tetradic
#7C661D #1D7C36 #1D337C #7C1D63
square
#7C661D #1D7C36 #1D337C #7C1D63
split-complementary
#7C661D #1D637C #361D7C
monochromatic
#191406 #4A3D11 #7C661D #AE8F29 #D3B141

Accessibility & contrast

On white

5.56
#7C661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C661D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C661D#FFFFFF#000000##FFFFFF
##7C661D1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726411
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#875D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661d;
/* rgb */ color: rgb(124, 102, 29);
/* oklch */ color: oklch(51.8% 0.093 91.5);
Tailwind
colors: {
  custom: {
    50: '#a5915e',
    500: '#7c661d',
    950: '#000000',
  },
}
SCSS
$custom: #7c661d;
$custom-light: #a5915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661d",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 46.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.09325,
    "h": 91.5
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#7C661D
secondary
#455EB0
accent
#68E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C661D

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

Preview Lab → · Contrast checker → · Palette generator →

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