#766518#766518

#766518 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.095 H 96.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#766518
RGBrgb(118, 101, 24)
HSLhsl(49, 66%, 28%)
HSVhsv(49, 80%, 46%)
CMYKcmyk(0%, 14.4%, 79.7%, 53.7%)
CIE-LABlab(43.10, -1.91, 43.08)
CIE-LCHlch(43.10, 43.12, 92.53°)
OKLaboklab(50.89% -0.0099 0.0943)
OKLCHoklch(50.89% 0.095 96)
XYZxyz(12.2904, 13.2255, 2.7694)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766518 #182976
analogous
#763618 #766518 #587618
triadic
#766518 #187665 #651876
tetradic
#766518 #187636 #182976 #761858
square
#766518 #187636 #182976 #761858
split-complementary
#766518 #185876 #361876
monochromatic
#191605 #43390E #766518 #A99122 #D5B833

Accessibility & contrast

On white

5.76
#766518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#766518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766518
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766518#FFFFFF#000000##FFFFFF
##7665181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#805D56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #766518;
/* rgb */ color: rgb(118, 101, 24);
/* oklch */ color: oklch(50.9% 0.095 96.0);
Tailwind
colors: {
  custom: {
    50: '#a1905c',
    500: '#766518',
    950: '#000000',
  },
}
SCSS
$custom: #766518;
$custom-light: #a1905c;
$custom-dark: #000000;
JSON
{
  "hex": "#766518",
  "rgb": {
    "r": 118,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 49.149,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.0948,
    "h": 96
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#766518
secondary
#3F52AB
accent
#5DE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766518

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

Preview Lab → · Contrast checker → · Palette generator →

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