#7C6722#7C6722

#7C6722 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.090 H 91.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C6722
RGBrgb(124, 103, 34)
HSLhsl(46, 57%, 31%)
HSVhsv(46, 73%, 49%)
CMYKcmyk(0%, 16.9%, 72.6%, 51.4%)
CIE-LABlab(44.38, 0.31, 40.35)
CIE-LCHlch(44.38, 40.35, 89.56°)
OKLaboklab(52.07% -0.0028 0.0903)
OKLCHoklch(52.07% 0.09 91.8)
XYZxyz(13.4519, 14.1019, 3.5265)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6722 #22377C
analogous
#7C3A22 #7C6722 #647C22
triadic
#7C6722 #227C67 #67227C
tetradic
#7C6722 #227C3A #22377C #7C2264
square
#7C6722 #227C3A #22377C #7C2264
split-complementary
#7C6722 #22647C #3A227C
monochromatic
#1C1708 #4C3F15 #7C6722 #AC8F2F #CEAF4B

Accessibility & contrast

On white

5.50
#7C6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7C6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6722
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6722#FFFFFF#000000##FFFFFF
##7C67221.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736519
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#865E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6722;
/* rgb */ color: rgb(124, 103, 34);
/* oklch */ color: oklch(52.1% 0.090 91.8);
Tailwind
colors: {
  custom: {
    50: '#a59261',
    500: '#7c6722',
    950: '#000000',
  },
}
SCSS
$custom: #7c6722;
$custom-light: #a59261;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6722",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 46,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.09035,
    "h": 91.8
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#7C6722
secondary
#4B62AF
accent
#6BE048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7C6722

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

Preview Lab → · Contrast checker → · Palette generator →

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