#7D681F#7D681F

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

Color values

HEX#7D681F
RGBrgb(125, 104, 31)
HSLhsl(47, 60%, 31%)
HSVhsv(47, 75%, 49%)
CMYKcmyk(0%, 16.8%, 75.2%, 51%)
CIE-LABlab(44.75, 0.04, 42.07)
CIE-LCHlch(44.75, 42.07, 89.94°)
OKLaboklab(52.38% -0.004 0.0933)
OKLCHoklch(52.38% 0.093 92.4)
XYZxyz(13.6558, 14.3603, 3.3486)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D681F #1F347D
analogous
#7D391F #7D681F #637D1F
triadic
#7D681F #1F7D68 #681F7D
tetradic
#7D681F #1F7D39 #1F347D #7D1F63
square
#7D681F #1F7D39 #1F347D #7D1F63
split-complementary
#7D681F #1F637D #391F7D
monochromatic
#1B1607 #4C3F13 #7D681F #AE912B #D1B245

Accessibility & contrast

On white

5.42
#7D681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D681F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D681F#FFFFFF#000000##FFFFFF
##7D681F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746614
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#885F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d681f;
/* rgb */ color: rgb(125, 104, 31);
/* oklch */ color: oklch(52.4% 0.093 92.4);
Tailwind
colors: {
  custom: {
    50: '#a69260',
    500: '#7d681f',
    950: '#000000',
  },
}
SCSS
$custom: #7d681f;
$custom-light: #a69260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d681f",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 46.596,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.09339,
    "h": 92.4
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#7D681F
secondary
#485FB0
accent
#68E344
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7D681F

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

Preview Lab → · Contrast checker → · Palette generator →

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