#766318#766318

#766318 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.093 H 94.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#766318
RGBrgb(118, 99, 24)
HSLhsl(48, 66%, 28%)
HSVhsv(48, 80%, 46%)
CMYKcmyk(0%, 16.1%, 79.7%, 53.7%)
CIE-LABlab(42.52, -0.74, 42.54)
CIE-LCHlch(42.52, 42.55, 91.00°)
OKLaboklab(50.43% -0.0066 0.0931)
OKLCHoklch(50.43% 0.093 94.1)
XYZxyz(12.0986, 12.8419, 2.7055)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766318 #182B76
analogous
#763418 #766318 #5A7618
triadic
#766318 #187663 #631876
tetradic
#766318 #187634 #182B76 #76185A
square
#766318 #187634 #182B76 #76185A
split-complementary
#766318 #185A76 #341876
monochromatic
#191505 #43380E #766318 #A98E22 #D5B533

Accessibility & contrast

On white

5.89
#766318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#766318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766318
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766318#FFFFFF#000000##FFFFFF
##7663181.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610A
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#805A55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766318;
/* rgb */ color: rgb(118, 99, 24);
/* oklch */ color: oklch(50.4% 0.093 94.1);
Tailwind
colors: {
  custom: {
    50: '#a18f5b',
    500: '#766318',
    950: '#000000',
  },
}
SCSS
$custom: #766318;
$custom-light: #a18f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766318",
  "rgb": {
    "r": 118,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 47.872,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.09336,
    "h": 94.1
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#766318
secondary
#3F55AB
accent
#61E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766318

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

Preview Lab → · Contrast checker → · Palette generator →

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