#766321#766321

#766321 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.5% C 0.087 H 92.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#766321
RGBrgb(118, 99, 33)
HSLhsl(47, 56%, 30%)
HSVhsv(47, 72%, 46%)
CMYKcmyk(0%, 16.1%, 72%, 53.7%)
CIE-LABlab(42.59, -0.27, 38.77)
CIE-LCHlch(42.59, 38.77, 90.40°)
OKLaboklab(50.51% -0.0042 0.087)
OKLCHoklch(50.51% 0.087 92.7)
XYZxyz(12.2082, 12.8857, 3.2827)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766321 #213476
analogous
#763921 #766321 #5F7621
triadic
#766321 #217663 #632176
tetradic
#766321 #217639 #213476 #76215F
square
#766321 #217639 #213476 #76215F
split-complementary
#766321 #215F76 #392176
monochromatic
#181407 #463B14 #766321 #A68B2E #CBAE46

Accessibility & contrast

On white

5.87
#766321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#766321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766321
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766321#FFFFFF#000000##FFFFFF
##7663211.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6118
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#805B55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #766321;
/* rgb */ color: rgb(118, 99, 33);
/* oklch */ color: oklch(50.5% 0.087 92.7);
Tailwind
colors: {
  custom: {
    50: '#a08f60',
    500: '#766321',
    950: '#000000',
  },
}
SCSS
$custom: #766321;
$custom-light: #a08f60;
$custom-dark: #000000;
JSON
{
  "hex": "#766321",
  "rgb": {
    "r": 118,
    "g": 99,
    "b": 33
  },
  "hsl": {
    "h": 46.588,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.0871,
    "h": 92.7
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#766321
secondary
#4A5FA9
accent
#6AE048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #766321

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

Preview Lab → · Contrast checker → · Palette generator →

#766321 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva