#766F17#766F17

#766F17 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.2% C 0.104 H 104.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#766F17
RGBrgb(118, 111, 23)
HSLhsl(56, 67%, 28%)
HSVhsv(56, 81%, 46%)
CMYKcmyk(0%, 5.9%, 80.5%, 53.7%)
CIE-LABlab(46.02, -7.67, 46.13)
CIE-LCHlch(46.02, 46.76, 99.44°)
OKLaboklab(53.2% -0.0263 0.1006)
OKLCHoklch(53.2% 0.104 104.6)
XYZxyz(13.3109, 15.2828, 3.0592)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766F17 #171E76
analogous
#763F17 #766F17 #4D7617
triadic
#766F17 #17766F #6F1776
tetradic
#766F17 #17763F #171E76 #76174D
square
#766F17 #17763F #171E76 #76174D
split-complementary
#766F17 #174D76 #3F1776
monochromatic
#1A1805 #433F0D #766F17 #A99F21 #D7CB31

Accessibility & contrast

On white

5.18
#766F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#766F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766F17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766F17#FFFFFF#000000##FFFFFF
##766F171.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#7F675F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766f17;
/* rgb */ color: rgb(118, 111, 23);
/* oklch */ color: oklch(53.2% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a1985c',
    500: '#766f17',
    950: '#000000',
  },
}
SCSS
$custom: #766f17;
$custom-light: #a1985c;
$custom-dark: #000000;
JSON
{
  "hex": "#766f17",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 55.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.10396,
    "h": 104.6
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#766F17
secondary
#3E46AB
accent
#4AEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766F17

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

Preview Lab → · Contrast checker → · Palette generator →

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