#766817#766817

#766817 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.098 H 98.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#766817
RGBrgb(118, 104, 23)
HSLhsl(51, 67%, 28%)
HSVhsv(51, 81%, 46%)
CMYKcmyk(0%, 11.9%, 80.5%, 53.7%)
CIE-LABlab(43.97, -3.69, 44.25)
CIE-LCHlch(43.97, 44.41, 94.76°)
OKLaboklab(51.57% -0.0151 0.0966)
OKLCHoklch(51.57% 0.098 98.9)
XYZxyz(12.5768, 13.8147, 2.8145)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766817 #172576
analogous
#763917 #766817 #547617
triadic
#766817 #177668 #681776
tetradic
#766817 #177639 #172576 #761754
square
#766817 #177639 #172576 #761754
split-complementary
#766817 #175476 #391776
monochromatic
#1A1705 #433B0D #766817 #A99521 #D7BE31

Accessibility & contrast

On white

5.58
#766817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#766817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766817
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766817#FFFFFF#000000##FFFFFF
##7668171.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#806059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766817;
/* rgb */ color: rgb(118, 104, 23);
/* oklch */ color: oklch(51.6% 0.098 98.9);
Tailwind
colors: {
  custom: {
    50: '#a1925c',
    500: '#766817',
    950: '#000000',
  },
}
SCSS
$custom: #766817;
$custom-light: #a1925c;
$custom-dark: #000000;
JSON
{
  "hex": "#766817",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 51.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.09774,
    "h": 98.9
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#766817
secondary
#3E4EAB
accent
#57EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766817

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

Preview Lab → · Contrast checker → · Palette generator →

#766817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva