#7D681A#7D681A

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

Color values

HEX#7D681A
RGBrgb(125, 104, 26)
HSLhsl(47, 66%, 30%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 16.8%, 79.2%, 51%)
CIE-LABlab(44.71, -0.20, 44.08)
CIE-LCHlch(44.71, 44.08, 90.26°)
OKLaboklab(52.34% -0.0053 0.0965)
OKLCHoklch(52.34% 0.097 93.1)
XYZxyz(13.5950, 14.3360, 3.0281)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D681A #1A2F7D
analogous
#7D371A #7D681A #617D1A
triadic
#7D681A #1A7D68 #681A7D
tetradic
#7D681A #1A7D37 #1A2F7D #7D1A61
square
#7D681A #1A7D37 #1A2F7D #7D1A61
split-complementary
#7D681A #1A617D #371A7D
monochromatic
#191505 #4A3E0F #7D681A #B09225 #D6B53B

Accessibility & contrast

On white

5.43
#7D681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D681A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D681A#FFFFFF#000000##FFFFFF
##7D681A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d681a;
/* rgb */ color: rgb(125, 104, 26);
/* oklch */ color: oklch(52.3% 0.097 93.1);
Tailwind
colors: {
  custom: {
    50: '#a6925d',
    500: '#7d681a',
    950: '#000000',
  },
}
SCSS
$custom: #7d681a;
$custom-light: #a6925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d681a",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 47.273,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.09665,
    "h": 93.1
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#7D681A
secondary
#4259B1
accent
#63E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7D681A

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

Preview Lab → · Contrast checker → · Palette generator →

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