#7D681D#7D681D

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

Color values

HEX#7D681D
RGBrgb(125, 104, 29)
HSLhsl(47, 62%, 30%)
HSVhsv(47, 77%, 49%)
CMYKcmyk(0%, 16.8%, 76.8%, 51%)
CIE-LABlab(44.73, -0.06, 42.90)
CIE-LCHlch(44.73, 42.90, 90.08°)
OKLaboklab(52.36% -0.0045 0.0946)
OKLCHoklch(52.36% 0.095 92.7)
XYZxyz(13.6303, 14.3501, 3.2141)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D681D #1D327D
analogous
#7D381D #7D681D #627D1D
triadic
#7D681D #1D7D68 #681D7D
tetradic
#7D681D #1D7D38 #1D327D #7D1D62
square
#7D681D #1D7D38 #1D327D #7D1D62
split-complementary
#7D681D #1D627D #381D7D
monochromatic
#1A1506 #4B3F11 #7D681D #AF9129 #D3B341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D681D#FFFFFF#000000##FFFFFF
##7D681D1.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)
#746611
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d681d;
/* rgb */ color: rgb(125, 104, 29);
/* oklch */ color: oklch(52.4% 0.095 92.7);
Tailwind
colors: {
  custom: {
    50: '#a6925f',
    500: '#7d681d',
    950: '#000000',
  },
}
SCSS
$custom: #7d681d;
$custom-light: #a6925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d681d",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 46.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.09475,
    "h": 92.7
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#7D681D
secondary
#455DB1
accent
#66E542
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7D681D

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

Preview Lab → · Contrast checker → · Palette generator →

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