#7C681E#7C681E

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

Color values

HEX#7C681E
RGBrgb(124, 104, 30)
HSLhsl(47, 61%, 30%)
HSVhsv(47, 76%, 49%)
CMYKcmyk(0%, 16.1%, 75.8%, 51.4%)
CIE-LABlab(44.63, -0.48, 42.35)
CIE-LCHlch(44.63, 42.35, 90.66°)
OKLaboklab(52.26% -0.0055 0.0937)
OKLCHoklch(52.26% 0.094 93.4)
XYZxyz(13.4976, 14.2802, 3.2735)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C681E #1E327C
analogous
#7C391E #7C681E #617C1E
triadic
#7C681E #1E7C68 #681E7C
tetradic
#7C681E #1E7C39 #1E327C #7C1E61
square
#7C681E #1E7C39 #1E327C #7C1E61
split-complementary
#7C681E #1E617C #391E7C
monochromatic
#191506 #4B3F12 #7C681E #AD912A #D1B343

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C681E#FFFFFF#000000##FFFFFF
##7C681E1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c681e;
/* rgb */ color: rgb(124, 104, 30);
/* oklch */ color: oklch(52.3% 0.094 93.4);
Tailwind
colors: {
  custom: {
    50: '#a5925f',
    500: '#7c681e',
    950: '#000000',
  },
}
SCSS
$custom: #7c681e;
$custom-light: #a5925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c681e",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 47.234,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.09389,
    "h": 93.4
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#7C681E
secondary
#465DAF
accent
#66E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7C681E

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

Preview Lab → · Contrast checker → · Palette generator →

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