#7B681D#7B681D

#7B681D is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.094 H 94.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7B681D
RGBrgb(123, 104, 29)
HSLhsl(48, 62%, 30%)
HSVhsv(48, 76%, 48%)
CMYKcmyk(0%, 15.4%, 76.4%, 51.8%)
CIE-LABlab(44.52, -1.01, 42.62)
CIE-LCHlch(44.52, 42.63, 91.36°)
OKLaboklab(52.14% -0.0071 0.0942)
OKLCHoklch(52.14% 0.094 94.3)
XYZxyz(13.3412, 14.2010, 3.2005)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B681D #1D307B
analogous
#7B391D #7B681D #5F7B1D
triadic
#7B681D #1D7B68 #681D7B
tetradic
#7B681D #1D7B39 #1D307B #7B1D5F
square
#7B681D #1D7B39 #1D307B #7B1D5F
split-complementary
#7B681D #1D5F7B #391D7B
monochromatic
#191506 #493E11 #7B681D #AD9229 #D2B540

Accessibility & contrast

On white

5.47
#7B681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B681D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B681D#FFFFFF#000000##FFFFFF
##7B681D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746611
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b681d;
/* rgb */ color: rgb(123, 104, 29);
/* oklch */ color: oklch(52.1% 0.094 94.3);
Tailwind
colors: {
  custom: {
    50: '#a5925f',
    500: '#7b681d',
    950: '#000000',
  },
}
SCSS
$custom: #7b681d;
$custom-light: #a5925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b681d",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 47.872,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.09442,
    "h": 94.3
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#7B681D
secondary
#455AAF
accent
#64E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7B681D

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

Preview Lab → · Contrast checker → · Palette generator →

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