#766D17#766D17

#766D17 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.7% C 0.102 H 103.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#766D17
RGBrgb(118, 109, 23)
HSLhsl(54, 67%, 28%)
HSVhsv(54, 81%, 46%)
CMYKcmyk(0%, 7.6%, 80.5%, 53.7%)
CIE-LABlab(45.43, -6.54, 45.59)
CIE-LCHlch(45.43, 46.06, 98.17°)
OKLaboklab(52.73% -0.0231 0.0994)
OKLCHoklch(52.73% 0.102 103.1)
XYZxyz(13.0951, 14.8513, 2.9873)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D17 #172076
analogous
#763E17 #766D17 #4F7617
triadic
#766D17 #17766D #6D1776
tetradic
#766D17 #17763E #172076 #76174F
square
#766D17 #17763E #172076 #76174F
split-complementary
#766D17 #174F76 #3E1776
monochromatic
#1A1805 #433E0D #766D17 #A99C21 #D7C731

Accessibility & contrast

On white

5.29
#766D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#766D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D17
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D17#FFFFFF#000000##FFFFFF
##766D171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#80655D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766d17;
/* rgb */ color: rgb(118, 109, 23);
/* oklch */ color: oklch(52.7% 0.102 103.1);
Tailwind
colors: {
  custom: {
    50: '#a1965c',
    500: '#766d17',
    950: '#000000',
  },
}
SCSS
$custom: #766d17;
$custom-light: #a1965c;
$custom-dark: #000000;
JSON
{
  "hex": "#766d17",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 54.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.10208,
    "h": 103.1
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#766D17
secondary
#3E48AB
accent
#4EEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766D17

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

Preview Lab → · Contrast checker → · Palette generator →

#766D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva