#766A17#766A17

#766A17 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.0% C 0.099 H 100.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#766A17
RGBrgb(118, 106, 23)
HSLhsl(52, 67%, 28%)
HSVhsv(52, 81%, 46%)
CMYKcmyk(0%, 10.2%, 80.5%, 53.7%)
CIE-LABlab(44.55, -4.83, 44.79)
CIE-LCHlch(44.55, 45.05, 96.16°)
OKLaboklab(52.03% -0.0183 0.0977)
OKLCHoklch(52.03% 0.099 100.6)
XYZxyz(12.7805, 14.2221, 2.8824)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A17 #172376
analogous
#763A17 #766A17 #527617
triadic
#766A17 #17766A #6A1776
tetradic
#766A17 #17763A #172376 #761752
square
#766A17 #17763A #172376 #761752
split-complementary
#766A17 #175276 #3A1776
monochromatic
#1A1705 #433C0D #766A17 #A99821 #D7C231

Accessibility & contrast

On white

5.46
#766A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#766A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A17
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A17#FFFFFF#000000##FFFFFF
##766A171.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#80625A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766a17;
/* rgb */ color: rgb(118, 106, 23);
/* oklch */ color: oklch(52.0% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#a1945c',
    500: '#766a17',
    950: '#000000',
  },
}
SCSS
$custom: #766a17;
$custom-light: #a1945c;
$custom-dark: #000000;
JSON
{
  "hex": "#766a17",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 52.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.09941,
    "h": 100.6
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#766A17
secondary
#3E4BAB
accent
#53EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766A17

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

Preview Lab → · Contrast checker → · Palette generator →

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