#766C17#766C17

#766C17 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.101 H 102.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#766C17
RGBrgb(118, 108, 23)
HSLhsl(54, 67%, 28%)
HSVhsv(54, 81%, 46%)
CMYKcmyk(0%, 8.5%, 80.5%, 53.7%)
CIE-LABlab(45.14, -5.97, 45.32)
CIE-LCHlch(45.14, 45.72, 97.51°)
OKLaboklab(52.5% -0.0215 0.0989)
OKLCHoklch(52.5% 0.101 102.3)
XYZxyz(12.9890, 14.6391, 2.9519)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C17 #172176
analogous
#763C17 #766C17 #517617
triadic
#766C17 #17766C #6C1776
tetradic
#766C17 #17763C #172176 #761751
square
#766C17 #17763C #172176 #761751
split-complementary
#766C17 #175176 #3C1776
monochromatic
#1A1705 #433D0D #766C17 #A99B21 #D7C531

Accessibility & contrast

On white

5.35
#766C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#766C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766C17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766C17#FFFFFF#000000##FFFFFF
##766C171.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#80645C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766c17;
/* rgb */ color: rgb(118, 108, 23);
/* oklch */ color: oklch(52.5% 0.101 102.3);
Tailwind
colors: {
  custom: {
    50: '#a1955c',
    500: '#766c17',
    950: '#000000',
  },
}
SCSS
$custom: #766c17;
$custom-light: #a1955c;
$custom-dark: #000000;
JSON
{
  "hex": "#766c17",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 53.684,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.525,
    "c": 0.10118,
    "h": 102.3
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#766C17
secondary
#3E49AB
accent
#50EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766C17

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

Preview Lab → · Contrast checker → · Palette generator →

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