#766618#766618

#766618 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.096 H 97.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#766618
RGBrgb(118, 102, 24)
HSLhsl(50, 66%, 28%)
HSVhsv(50, 80%, 46%)
CMYKcmyk(0%, 13.6%, 79.7%, 53.7%)
CIE-LABlab(43.39, -2.49, 43.35)
CIE-LCHlch(43.39, 43.42, 93.28°)
OKLaboklab(51.12% -0.0116 0.0949)
OKLCHoklch(51.12% 0.096 97)
XYZxyz(12.3881, 13.4209, 2.8020)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766618 #182876
analogous
#763718 #766618 #577618
triadic
#766618 #187666 #661876
tetradic
#766618 #187637 #182876 #761857
square
#766618 #187637 #182876 #761857
split-complementary
#766618 #185776 #371876
monochromatic
#191605 #433A0E #766618 #A99222 #D5BA33

Accessibility & contrast

On white

5.70
#766618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#766618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766618
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766618#FFFFFF#000000##FFFFFF
##7666181.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716408
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#805E57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #766618;
/* rgb */ color: rgb(118, 102, 24);
/* oklch */ color: oklch(51.1% 0.096 97.0);
Tailwind
colors: {
  custom: {
    50: '#a1915c',
    500: '#766618',
    950: '#000000',
  },
}
SCSS
$custom: #766618;
$custom-light: #a1915c;
$custom-dark: #000000;
JSON
{
  "hex": "#766618",
  "rgb": {
    "r": 118,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 49.787,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.09556,
    "h": 97
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#766618
secondary
#3F51AB
accent
#5CE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766618

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

Preview Lab → · Contrast checker → · Palette generator →

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