#766017#766017

#766017 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.7% C 0.092 H 91.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#766017
RGBrgb(118, 96, 23)
HSLhsl(46, 67%, 28%)
HSVhsv(46, 81%, 46%)
CMYKcmyk(0%, 18.6%, 80.5%, 53.7%)
CIE-LABlab(41.66, 0.97, 42.12)
CIE-LCHlch(41.66, 42.13, 88.68°)
OKLaboklab(49.75% -0.0018 0.092)
OKLCHoklch(49.75% 0.092 91.1)
XYZxyz(11.8094, 12.2799, 2.5587)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766017 #172D76
analogous
#763017 #766017 #5D7617
triadic
#766017 #177660 #601776
tetradic
#766017 #177630 #172D76 #76175D
square
#766017 #177630 #172D76 #76175D
split-complementary
#766017 #175D76 #301776
monochromatic
#1A1505 #43360D #766017 #A98A21 #D7B031

Accessibility & contrast

On white

6.08
#766017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#766017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766017
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766017#FFFFFF#000000##FFFFFF
##7660171.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#805752
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #766017;
/* rgb */ color: rgb(118, 96, 23);
/* oklch */ color: oklch(49.7% 0.092 91.1);
Tailwind
colors: {
  custom: {
    50: '#a18c5a',
    500: '#766017',
    950: '#000000',
  },
}
SCSS
$custom: #766017;
$custom-light: #a18c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#766017",
  "rgb": {
    "r": 118,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 46.105,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.09203,
    "h": 91.1
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#766017
secondary
#3E57AB
accent
#66EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766017

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

Preview Lab → · Contrast checker → · Palette generator →

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