#766218#766218

#766218 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.2% C 0.093 H 93.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#766218
RGBrgb(118, 98, 24)
HSLhsl(47, 66%, 28%)
HSVhsv(47, 80%, 46%)
CMYKcmyk(0%, 16.9%, 79.7%, 53.7%)
CIE-LABlab(42.24, -0.16, 42.27)
CIE-LCHlch(42.24, 42.27, 90.21°)
OKLaboklab(50.21% -0.005 0.0926)
OKLCHoklch(50.21% 0.093 93.1)
XYZxyz(12.0044, 12.6536, 2.6741)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766218 #182C76
analogous
#763318 #766218 #5B7618
triadic
#766218 #187662 #621876
tetradic
#766218 #187633 #182C76 #76185B
square
#766218 #187633 #182C76 #76185B
split-complementary
#766218 #185B76 #331876
monochromatic
#191505 #43380E #766218 #A98C22 #D5B333

Accessibility & contrast

On white

5.95
#766218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#766218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766218
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766218#FFFFFF#000000##FFFFFF
##7662181.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#805954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766218;
/* rgb */ color: rgb(118, 98, 24);
/* oklch */ color: oklch(50.2% 0.093 93.1);
Tailwind
colors: {
  custom: {
    50: '#a18e5b',
    500: '#766218',
    950: '#000000',
  },
}
SCSS
$custom: #766218;
$custom-light: #a18e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766218",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 47.234,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.09269,
    "h": 93.1
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#766218
secondary
#3F56AB
accent
#63E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766218

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

Preview Lab → · Contrast checker → · Palette generator →

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