#766918#766918

#766918 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.098 H 99.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#766918
RGBrgb(118, 105, 24)
HSLhsl(52, 66%, 28%)
HSVhsv(52, 80%, 46%)
CMYKcmyk(0%, 11%, 79.7%, 53.7%)
CIE-LABlab(44.26, -4.22, 44.16)
CIE-LCHlch(44.26, 44.36, 95.45°)
OKLaboklab(51.81% -0.0165 0.0966)
OKLCHoklch(51.81% 0.098 99.7)
XYZxyz(12.6883, 14.0213, 2.9020)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766918 #182576
analogous
#763A18 #766918 #547618
triadic
#766918 #187669 #691876
tetradic
#766918 #18763A #182576 #761854
square
#766918 #18763A #182576 #761854
split-complementary
#766918 #185476 #3A1876
monochromatic
#191705 #433C0E #766918 #A99622 #D5BF33

Accessibility & contrast

On white

5.52
#766918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#766918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766918
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766918#FFFFFF#000000##FFFFFF
##7669181.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#776B1E
Tritanopia (blue-blind)
#80615A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766918;
/* rgb */ color: rgb(118, 105, 24);
/* oklch */ color: oklch(51.8% 0.098 99.7);
Tailwind
colors: {
  custom: {
    50: '#a1935c',
    500: '#766918',
    950: '#000000',
  },
}
SCSS
$custom: #766918;
$custom-light: #a1935c;
$custom-dark: #000000;
JSON
{
  "hex": "#766918",
  "rgb": {
    "r": 118,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 51.702,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.09798,
    "h": 99.7
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#766918
secondary
#3F4EAB
accent
#56E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766918

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

Preview Lab → · Contrast checker → · Palette generator →

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