#766E17#766E17

#766E17 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.0% C 0.103 H 103.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#766E17
RGBrgb(118, 110, 23)
HSLhsl(55, 67%, 28%)
HSVhsv(55, 81%, 46%)
CMYKcmyk(0%, 6.8%, 80.5%, 53.7%)
CIE-LABlab(45.72, -7.11, 45.86)
CIE-LCHlch(45.72, 46.41, 98.81°)
OKLaboklab(52.97% -0.0247 0.1)
OKLCHoklch(52.97% 0.103 103.9)
XYZxyz(13.2024, 15.0658, 3.0230)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766E17 #171F76
analogous
#763E17 #766E17 #4F7617
triadic
#766E17 #17766E #6E1776
tetradic
#766E17 #17763E #171F76 #76174F
square
#766E17 #17763E #171F76 #76174F
split-complementary
#766E17 #174F76 #3E1776
monochromatic
#1A1805 #433E0D #766E17 #A99E21 #D7C931

Accessibility & contrast

On white

5.23
#766E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#766E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766E17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766E17#FFFFFF#000000##FFFFFF
##766E171.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#7F665E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766e17;
/* rgb */ color: rgb(118, 110, 23);
/* oklch */ color: oklch(53.0% 0.103 103.9);
Tailwind
colors: {
  custom: {
    50: '#a1975c',
    500: '#766e17',
    950: '#000000',
  },
}
SCSS
$custom: #766e17;
$custom-light: #a1975c;
$custom-dark: #000000;
JSON
{
  "hex": "#766e17",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 54.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.10301,
    "h": 103.9
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#766E17
secondary
#3E47AB
accent
#4CEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766E17

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

Preview Lab → · Contrast checker → · Palette generator →

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