#766517#766517

#766517 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.095 H 96.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#766517
RGBrgb(118, 101, 23)
HSLhsl(49, 67%, 28%)
HSVhsv(49, 81%, 46%)
CMYKcmyk(0%, 14.4%, 80.5%, 53.7%)
CIE-LABlab(43.10, -1.95, 43.45)
CIE-LCHlch(43.10, 43.50, 92.57°)
OKLaboklab(50.88% -0.0102 0.0949)
OKLCHoklch(50.88% 0.095 96.1)
XYZxyz(12.2802, 13.2215, 2.7156)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766517 #172876
analogous
#763517 #766517 #587617
triadic
#766517 #177665 #651776
tetradic
#766517 #177635 #172876 #761758
square
#766517 #177635 #172876 #761758
split-complementary
#766517 #175876 #351776
monochromatic
#1A1605 #43390D #766517 #A99121 #D7B931

Accessibility & contrast

On white

5.76
#766517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#766517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766517
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766517#FFFFFF#000000##FFFFFF
##7665171.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#805C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #766517;
/* rgb */ color: rgb(118, 101, 23);
/* oklch */ color: oklch(50.9% 0.095 96.1);
Tailwind
colors: {
  custom: {
    50: '#a1905b',
    500: '#766517',
    950: '#000000',
  },
}
SCSS
$custom: #766517;
$custom-light: #a1905b;
$custom-dark: #000000;
JSON
{
  "hex": "#766517",
  "rgb": {
    "r": 118,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 49.263,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.0954,
    "h": 96.1
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#766517
secondary
#3E51AB
accent
#5CEA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766517

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

Preview Lab → · Contrast checker → · Palette generator →

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