#766718#766718

#766718 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.096 H 97.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#766718
RGBrgb(118, 103, 24)
HSLhsl(50, 66%, 28%)
HSVhsv(50, 80%, 46%)
CMYKcmyk(0%, 12.7%, 79.7%, 53.7%)
CIE-LABlab(43.68, -3.06, 43.62)
CIE-LCHlch(43.68, 43.73, 94.02°)
OKLaboklab(51.35% -0.0132 0.0954)
OKLCHoklch(51.35% 0.096 97.9)
XYZxyz(12.4870, 13.6186, 2.8349)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766718 #182776
analogous
#763818 #766718 #567618
triadic
#766718 #187667 #671876
tetradic
#766718 #187638 #182776 #761856
square
#766718 #187638 #182776 #761856
split-complementary
#766718 #185676 #381876
monochromatic
#191605 #433B0E #766718 #A99322 #D5BC33

Accessibility & contrast

On white

5.64
#766718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#766718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766718
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766718#FFFFFF#000000##FFFFFF
##7667181.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766718;
/* rgb */ color: rgb(118, 103, 24);
/* oklch */ color: oklch(51.3% 0.096 97.9);
Tailwind
colors: {
  custom: {
    50: '#a1925c',
    500: '#766718',
    950: '#000000',
  },
}
SCSS
$custom: #766718;
$custom-light: #a1925c;
$custom-dark: #000000;
JSON
{
  "hex": "#766718",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 50.426,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.09634,
    "h": 97.9
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#766718
secondary
#3F50AB
accent
#5AE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766718

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

Preview Lab → · Contrast checker → · Palette generator →

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