#7C681F#7C681F

#7C681F is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.093 H 93.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7C681F
RGBrgb(124, 104, 31)
HSLhsl(47, 60%, 30%)
HSVhsv(47, 75%, 49%)
CMYKcmyk(0%, 16.1%, 75%, 51.4%)
CIE-LABlab(44.64, -0.43, 41.93)
CIE-LCHlch(44.64, 41.93, 90.59°)
OKLaboklab(52.27% -0.0053 0.0931)
OKLCHoklch(52.27% 0.093 93.2)
XYZxyz(13.5105, 14.2854, 3.3418)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C681F #1F337C
analogous
#7C3A1F #7C681F #617C1F
triadic
#7C681F #1F7C68 #681F7C
tetradic
#7C681F #1F7C3A #1F337C #7C1F61
square
#7C681F #1F7C3A #1F337C #7C1F61
split-complementary
#7C681F #1F617C #3A1F7C
monochromatic
#1A1607 #4B3F13 #7C681F #AD912B #D0B245

Accessibility & contrast

On white

5.44
#7C681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7C681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C681F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C681F#FFFFFF#000000##FFFFFF
##7C681F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746614
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#865F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c681f;
/* rgb */ color: rgb(124, 104, 31);
/* oklch */ color: oklch(52.3% 0.093 93.2);
Tailwind
colors: {
  custom: {
    50: '#a59260',
    500: '#7c681f',
    950: '#000000',
  },
}
SCSS
$custom: #7c681f;
$custom-light: #a59260;
$custom-dark: #000000;
JSON
{
  "hex": "#7c681f",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 47.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.09321,
    "h": 93.2
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#7C681F
secondary
#485EAF
accent
#67E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7C681F

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

Preview Lab → · Contrast checker → · Palette generator →

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