#766217#766217

#766217 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 50.2% C 0.093 H 93.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#766217
RGBrgb(118, 98, 23)
HSLhsl(47, 67%, 28%)
HSVhsv(47, 81%, 46%)
CMYKcmyk(0%, 16.9%, 80.5%, 53.7%)
CIE-LABlab(42.23, -0.20, 42.65)
CIE-LCHlch(42.23, 42.66, 90.27°)
OKLaboklab(50.2% -0.0052 0.0932)
OKLCHoklch(50.2% 0.093 93.2)
XYZxyz(11.9942, 12.6495, 2.6203)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766217 #172B76
analogous
#763217 #766217 #5B7617
triadic
#766217 #177662 #621776
tetradic
#766217 #177632 #172B76 #76175B
square
#766217 #177632 #172B76 #76175B
split-complementary
#766217 #175B76 #321776
monochromatic
#1A1505 #43370D #766217 #A98D21 #D7B431

Accessibility & contrast

On white

5.95
#766217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#766217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766217
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766217#FFFFFF#000000##FFFFFF
##7662171.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#805954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766217;
/* rgb */ color: rgb(118, 98, 23);
/* oklch */ color: oklch(50.2% 0.093 93.2);
Tailwind
colors: {
  custom: {
    50: '#a18e5b',
    500: '#766217',
    950: '#000000',
  },
}
SCSS
$custom: #766217;
$custom-light: #a18e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766217",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 47.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.09329,
    "h": 93.2
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#766217
secondary
#3E55AB
accent
#62EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766217

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

Preview Lab → · Contrast checker → · Palette generator →

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