#766717#766717

#766717 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.097 H 98.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#766717
RGBrgb(118, 103, 23)
HSLhsl(51, 67%, 28%)
HSVhsv(51, 81%, 46%)
CMYKcmyk(0%, 12.7%, 80.5%, 53.7%)
CIE-LABlab(43.68, -3.11, 43.99)
CIE-LCHlch(43.68, 44.10, 94.04°)
OKLaboklab(51.34% -0.0134 0.096)
OKLCHoklch(51.34% 0.097 98)
XYZxyz(12.4768, 13.6146, 2.7811)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766717 #172676
analogous
#763717 #766717 #567617
triadic
#766717 #177667 #671776
tetradic
#766717 #177637 #172676 #761756
square
#766717 #177637 #172676 #761756
split-complementary
#766717 #175676 #371776
monochromatic
#1A1605 #433A0D #766717 #A99421 #D7BD31

Accessibility & contrast

On white

5.64
#766717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#766717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766717
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766717#FFFFFF#000000##FFFFFF
##7667171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766717;
/* rgb */ color: rgb(118, 103, 23);
/* oklch */ color: oklch(51.3% 0.097 98.0);
Tailwind
colors: {
  custom: {
    50: '#a1925b',
    500: '#766717',
    950: '#000000',
  },
}
SCSS
$custom: #766717;
$custom-light: #a1925b;
$custom-dark: #000000;
JSON
{
  "hex": "#766717",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 50.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.09694,
    "h": 98
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#766717
secondary
#3E4FAB
accent
#59EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766717

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

Preview Lab → · Contrast checker → · Palette generator →

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