#766818#766818

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

Color values

HEX#766818
RGBrgb(118, 104, 24)
HSLhsl(51, 66%, 28%)
HSVhsv(51, 80%, 46%)
CMYKcmyk(0%, 11.9%, 79.7%, 53.7%)
CIE-LABlab(43.97, -3.64, 43.89)
CIE-LCHlch(43.97, 44.04, 94.74°)
OKLaboklab(51.58% -0.0148 0.096)
OKLCHoklch(51.58% 0.097 98.8)
XYZxyz(12.5870, 13.8188, 2.8683)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766818 #182676
analogous
#763918 #766818 #557618
triadic
#766818 #187668 #681876
tetradic
#766818 #187639 #182676 #761855
square
#766818 #187639 #182676 #761855
split-complementary
#766818 #185576 #391876
monochromatic
#191605 #433B0E #766818 #A99522 #D5BD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766818#FFFFFF#000000##FFFFFF
##7668181.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)
#736507
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#806059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766818;
/* rgb */ color: rgb(118, 104, 24);
/* oklch */ color: oklch(51.6% 0.097 98.8);
Tailwind
colors: {
  custom: {
    50: '#a1925c',
    500: '#766818',
    950: '#000000',
  },
}
SCSS
$custom: #766818;
$custom-light: #a1925c;
$custom-dark: #000000;
JSON
{
  "hex": "#766818",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 51.064,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.09715,
    "h": 98.8
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#766818
secondary
#3F4FAB
accent
#58E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766818

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

Preview Lab → · Contrast checker → · Palette generator →

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