#766417#766417

#766417 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.095 H 95.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#766417
RGBrgb(118, 100, 23)
HSLhsl(49, 67%, 28%)
HSVhsv(49, 81%, 46%)
CMYKcmyk(0%, 15.3%, 80.5%, 53.7%)
CIE-LABlab(42.81, -1.37, 43.19)
CIE-LCHlch(42.81, 43.21, 91.81°)
OKLaboklab(50.65% -0.0085 0.0943)
OKLCHoklch(50.65% 0.095 95.2)
XYZxyz(12.1837, 13.0284, 2.6834)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766417 #172976
analogous
#763517 #766417 #587617
triadic
#766417 #177664 #641776
tetradic
#766417 #177635 #172976 #761758
square
#766417 #177635 #172976 #761758
split-complementary
#766417 #175876 #351776
monochromatic
#1A1605 #43390D #766417 #A98F21 #D7B731

Accessibility & contrast

On white

5.82
#766417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#766417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766417
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766417#FFFFFF#000000##FFFFFF
##7664171.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#805B55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #766417;
/* rgb */ color: rgb(118, 100, 23);
/* oklch */ color: oklch(50.7% 0.095 95.2);
Tailwind
colors: {
  custom: {
    50: '#a18f5b',
    500: '#766417',
    950: '#000000',
  },
}
SCSS
$custom: #766417;
$custom-light: #a18f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766417",
  "rgb": {
    "r": 118,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 48.632,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.09467,
    "h": 95.2
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#766417
secondary
#3E52AB
accent
#5EEA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766417

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

Preview Lab → · Contrast checker → · Palette generator →

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