#7C681A#7C681A

#7C681A is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.096 H 93.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C681A
RGBrgb(124, 104, 26)
HSLhsl(48, 65%, 29%)
HSVhsv(48, 79%, 49%)
CMYKcmyk(0%, 16.1%, 79%, 51.4%)
CIE-LABlab(44.61, -0.68, 43.94)
CIE-LCHlch(44.61, 43.95, 90.88°)
OKLaboklab(52.23% -0.0066 0.0963)
OKLCHoklch(52.23% 0.096 93.9)
XYZxyz(13.4497, 14.2611, 3.0213)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C681A #1A2E7C
analogous
#7C371A #7C681A #5F7C1A
triadic
#7C681A #1A7C68 #681A7C
tetradic
#7C681A #1A7C37 #1A2E7C #7C1A5F
square
#7C681A #1A7C37 #1A2E7C #7C1A5F
split-complementary
#7C681A #1A5F7C #371A7C
monochromatic
#191505 #493E0F #7C681A #AF9225 #D6B63B

Accessibility & contrast

On white

5.45
#7C681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C681A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C681A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C681A#FFFFFF#000000##FFFFFF
##7C681A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#875F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c681a;
/* rgb */ color: rgb(124, 104, 26);
/* oklch */ color: oklch(52.2% 0.096 93.9);
Tailwind
colors: {
  custom: {
    50: '#a5925d',
    500: '#7c681a',
    950: '#000000',
  },
}
SCSS
$custom: #7c681a;
$custom-light: #a5925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c681a",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 47.755,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.09648,
    "h": 93.9
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#7C681A
secondary
#4258B0
accent
#62E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7C681A

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

Preview Lab → · Contrast checker → · Palette generator →

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