#7C661F#7C661F

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

Color values

HEX#7C661F
RGBrgb(124, 102, 31)
HSLhsl(46, 60%, 30%)
HSVhsv(46, 75%, 49%)
CMYKcmyk(0%, 17.7%, 75%, 51.4%)
CIE-LABlab(44.07, 0.73, 41.37)
CIE-LCHlch(44.07, 41.38, 88.99°)
OKLaboklab(51.82% -0.0019 0.0919)
OKLCHoklch(51.82% 0.092 91.2)
XYZxyz(13.3116, 13.8876, 3.2755)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661F #1F357C
analogous
#7C371F #7C661F #647C1F
triadic
#7C661F #1F7C66 #661F7C
tetradic
#7C661F #1F7C37 #1F357C #7C1F64
square
#7C661F #1F7C37 #1F357C #7C1F64
split-complementary
#7C661F #1F647C #371F7C
monochromatic
#1A1507 #4B3E13 #7C661F #AD8E2B #D0AF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C661F#FFFFFF#000000##FFFFFF
##7C661F1.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)
#726514
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#875D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661f;
/* rgb */ color: rgb(124, 102, 31);
/* oklch */ color: oklch(51.8% 0.092 91.2);
Tailwind
colors: {
  custom: {
    50: '#a59160',
    500: '#7c661f',
    950: '#000000',
  },
}
SCSS
$custom: #7c661f;
$custom-light: #a59160;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661f",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 45.806,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.09188,
    "h": 91.2
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#7C661F
secondary
#4860AF
accent
#6AE345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C661F

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

Preview Lab → · Contrast checker → · Palette generator →

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