#7C661B#7C661B

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

Color values

HEX#7C661B
RGBrgb(124, 102, 27)
HSLhsl(46, 64%, 30%)
HSVhsv(46, 78%, 49%)
CMYKcmyk(0%, 17.7%, 78.2%, 51.4%)
CIE-LABlab(44.04, 0.53, 43.02)
CIE-LCHlch(44.04, 43.02, 89.29°)
OKLaboklab(51.79% -0.003 0.0945)
OKLCHoklch(51.79% 0.095 91.8)
XYZxyz(13.2621, 13.8678, 3.0149)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C661B #1B317C
analogous
#7C361B #7C661B #617C1B
triadic
#7C661B #1B7C66 #661B7C
tetradic
#7C661B #1B7C36 #1B317C #7C1B61
square
#7C661B #1B7C36 #1B317C #7C1B61
split-complementary
#7C661B #1B617C #361B7C
monochromatic
#191505 #4A3D10 #7C661B #AE8F26 #D5B23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C661B#FFFFFF#000000##FFFFFF
##7C661B1.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)
#72640E
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#875D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c661b;
/* rgb */ color: rgb(124, 102, 27);
/* oklch */ color: oklch(51.8% 0.095 91.8);
Tailwind
colors: {
  custom: {
    50: '#a5915d',
    500: '#7c661b',
    950: '#000000',
  },
}
SCSS
$custom: #7c661b;
$custom-light: #a5915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c661b",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 46.392,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.09456,
    "h": 91.8
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#7C661B
secondary
#435CB0
accent
#66E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C661B

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

Preview Lab → · Contrast checker → · Palette generator →

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