#7D681E#7D681E

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

Color values

HEX#7D681E
RGBrgb(125, 104, 30)
HSLhsl(47, 61%, 30%)
HSVhsv(47, 76%, 49%)
CMYKcmyk(0%, 16.8%, 76%, 51%)
CIE-LABlab(44.74, -0.01, 42.49)
CIE-LCHlch(44.74, 42.49, 90.01°)
OKLaboklab(52.37% -0.0042 0.094)
OKLCHoklch(52.37% 0.094 92.6)
XYZxyz(13.6429, 14.3551, 3.2803)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D681E #1E337D
analogous
#7D391E #7D681E #627D1E
triadic
#7D681E #1E7D68 #681E7D
tetradic
#7D681E #1E7D39 #1E337D #7D1E62
square
#7D681E #1E7D39 #1E337D #7D1E62
split-complementary
#7D681E #1E627D #391E7D
monochromatic
#1A1606 #4C3F12 #7D681E #AE912A #D2B243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D681E#FFFFFF#000000##FFFFFF
##7D681E1.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)
#746612
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d681e;
/* rgb */ color: rgb(125, 104, 30);
/* oklch */ color: oklch(52.4% 0.094 92.6);
Tailwind
colors: {
  custom: {
    50: '#a6925f',
    500: '#7d681e',
    950: '#000000',
  },
}
SCSS
$custom: #7d681e;
$custom-light: #a6925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d681e",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 46.737,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.09409,
    "h": 92.6
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#7D681E
secondary
#465EB0
accent
#67E443
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7D681E

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

Preview Lab → · Contrast checker → · Palette generator →

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