#766C18#766C18

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

Color values

HEX#766C18
RGBrgb(118, 108, 24)
HSLhsl(54, 66%, 28%)
HSVhsv(54, 80%, 46%)
CMYKcmyk(0%, 8.5%, 79.7%, 53.7%)
CIE-LABlab(45.14, -5.93, 44.97)
CIE-LCHlch(45.14, 45.36, 97.51°)
OKLaboklab(52.51% -0.0213 0.0983)
OKLCHoklch(52.51% 0.101 102.2)
XYZxyz(12.9993, 14.6432, 3.0057)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C18 #182276
analogous
#763D18 #766C18 #517618
triadic
#766C18 #18766C #6C1876
tetradic
#766C18 #18763D #182276 #761851
square
#766C18 #18763D #182276 #761851
split-complementary
#766C18 #185176 #3D1876
monochromatic
#191705 #433D0E #766C18 #A99B22 #D5C433

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766C18#FFFFFF#000000##FFFFFF
##766C181.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)
#776806
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#80645C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766c18;
/* rgb */ color: rgb(118, 108, 24);
/* oklch */ color: oklch(52.5% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#a1955d',
    500: '#766c18',
    950: '#000000',
  },
}
SCSS
$custom: #766c18;
$custom-light: #a1955d;
$custom-dark: #000000;
JSON
{
  "hex": "#766c18",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 53.617,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.1006,
    "h": 102.2
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#766C18
secondary
#3F4AAB
accent
#51E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766C18

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

Preview Lab → · Contrast checker → · Palette generator →

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