#7C661A#7C661A

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

Color values

HEX#7C661A
RGBrgb(124, 102, 26)
HSLhsl(47, 65%, 29%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 17.7%, 79%, 51.4%)
CIE-LABlab(44.04, 0.49, 43.41)
CIE-LCHlch(44.04, 43.41, 89.36°)
OKLaboklab(51.78% -0.0032 0.0951)
OKLCHoklch(51.78% 0.095 92)
XYZxyz(13.2508, 13.8632, 2.9550)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661A #1A307C
analogous
#7C351A #7C661A #617C1A
triadic
#7C661A #1A7C66 #661A7C
tetradic
#7C661A #1A7C35 #1A307C #7C1A61
square
#7C661A #1A7C35 #1A307C #7C1A61
split-complementary
#7C661A #1A617C #351A7C
monochromatic
#191505 #493C0F #7C661A #AF9025 #D6B33B

Accessibility & contrast

On white

5.57
#7C661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C661A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C661A#FFFFFF#000000##FFFFFF
##7C661A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640C
Deuteranopia (green-blind)
#776B1E
Tritanopia (blue-blind)
#875D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661a;
/* rgb */ color: rgb(124, 102, 26);
/* oklch */ color: oklch(51.8% 0.095 92.0);
Tailwind
colors: {
  custom: {
    50: '#a5915d',
    500: '#7c661a',
    950: '#000000',
  },
}
SCSS
$custom: #7c661a;
$custom-light: #a5915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661a",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 46.531,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.09518,
    "h": 92
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#7C661A
secondary
#425AB0
accent
#65E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C661A

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

Preview Lab → · Contrast checker → · Palette generator →

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