#7C682C#7C682C

#7C682C is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.083 H 90.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C682C
RGBrgb(124, 104, 44)
HSLhsl(45, 48%, 33%)
HSVhsv(45, 65%, 49%)
CMYKcmyk(0%, 16.1%, 64.5%, 51.4%)
CIE-LABlab(44.76, 0.39, 35.95)
CIE-LCHlch(44.76, 35.95, 89.38°)
OKLaboklab(52.4% -0.0012 0.0827)
OKLCHoklch(52.4% 0.083 90.8)
XYZxyz(13.7178, 14.3683, 4.4332)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C682C #2C407C
analogous
#7C402C #7C682C #687C2C
triadic
#7C682C #2C7C68 #682C7C
tetradic
#7C682C #2C7C40 #2C407C #7C2C68
square
#7C682C #2C7C40 #2C407C #7C2C68
split-complementary
#7C682C #2C687C #402C7C
monochromatic
#221C0C #4F421C #7C682C #A98E3C #C5AB5D

Accessibility & contrast

On white

5.42
#7C682C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7C682C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C682C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C682C#FFFFFF#000000##FFFFFF
##7C682C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#86605B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c682c;
/* rgb */ color: rgb(124, 104, 44);
/* oklch */ color: oklch(52.4% 0.083 90.8);
Tailwind
colors: {
  custom: {
    50: '#a49268',
    500: '#7c682c',
    950: '#000000',
  },
}
SCSS
$custom: #7c682c;
$custom-light: #a49268;
$custom-dark: #000000;
JSON
{
  "hex": "#7c682c",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 44
  },
  "hsl": {
    "h": 45,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.08269,
    "h": 90.8
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#7C682C
secondary
#586DAC
accent
#72D751
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D06
muted
#7F7D7A

Preview Lab

Preview with #7C682C

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

Preview Lab → · Contrast checker → · Palette generator →

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