#7C661C#7C661C

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

Color values

HEX#7C661C
RGBrgb(124, 102, 28)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 17.7%, 77.4%, 51.4%)
CIE-LABlab(44.05, 0.58, 42.62)
CIE-LCHlch(44.05, 42.62, 89.22°)
OKLaboklab(51.79% -0.0027 0.0939)
OKLCHoklch(51.79% 0.094 91.7)
XYZxyz(13.2739, 13.8725, 3.0769)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661C #1C327C
analogous
#7C361C #7C661C #627C1C
triadic
#7C661C #1C7C66 #661C7C
tetradic
#7C661C #1C7C36 #1C327C #7C1C62
square
#7C661C #1C7C36 #1C327C #7C1C62
split-complementary
#7C661C #1C627C #361C7C
monochromatic
#191506 #4A3D11 #7C661C #AE8F27 #D4B23F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C661C#FFFFFF#000000##FFFFFF
##7C661C1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726410
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#875D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661c;
/* rgb */ color: rgb(124, 102, 28);
/* oklch */ color: oklch(51.8% 0.094 91.7);
Tailwind
colors: {
  custom: {
    50: '#a5915e',
    500: '#7c661c',
    950: '#000000',
  },
}
SCSS
$custom: #7c661c;
$custom-light: #a5915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661c",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 46.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.09391,
    "h": 91.7
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#7C661C
secondary
#445DB0
accent
#67E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C661C

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

Preview Lab → · Contrast checker → · Palette generator →

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