#7C661E#7C661E

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

Color values

HEX#7C661E
RGBrgb(124, 102, 30)
HSLhsl(46, 61%, 30%)
HSVhsv(46, 76%, 49%)
CMYKcmyk(0%, 17.7%, 75.8%, 51.4%)
CIE-LABlab(44.06, 0.68, 41.79)
CIE-LCHlch(44.06, 41.80, 89.07°)
OKLaboklab(51.81% -0.0022 0.0925)
OKLCHoklch(51.81% 0.093 91.4)
XYZxyz(13.2986, 13.8824, 3.2072)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661E #1E347C
analogous
#7C371E #7C661E #637C1E
triadic
#7C661E #1E7C66 #661E7C
tetradic
#7C661E #1E7C37 #1E347C #7C1E63
square
#7C661E #1E7C37 #1E347C #7C1E63
split-complementary
#7C661E #1E637C #371E7C
monochromatic
#191506 #4B3D12 #7C661E #AD8F2A #D1B043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C661E#FFFFFF#000000##FFFFFF
##7C661E1.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)
#726513
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#875D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661e;
/* rgb */ color: rgb(124, 102, 30);
/* oklch */ color: oklch(51.8% 0.093 91.4);
Tailwind
colors: {
  custom: {
    50: '#a5915f',
    500: '#7c661e',
    950: '#000000',
  },
}
SCSS
$custom: #7c661e;
$custom-light: #a5915f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661e",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 45.957,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.09258,
    "h": 91.4
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#7C661E
secondary
#465FAF
accent
#69E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C661E

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

Preview Lab → · Contrast checker → · Palette generator →

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