#766018#766018

#766018 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.8% C 0.091 H 91.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#766018
RGBrgb(118, 96, 24)
HSLhsl(46, 66%, 28%)
HSVhsv(46, 80%, 46%)
CMYKcmyk(0%, 18.6%, 79.7%, 53.7%)
CIE-LABlab(41.66, 1.02, 41.74)
CIE-LCHlch(41.66, 41.75, 88.60°)
OKLaboklab(49.75% -0.0016 0.0914)
OKLCHoklch(49.75% 0.091 91)
XYZxyz(11.8196, 12.2840, 2.6125)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766018 #182E76
analogous
#763118 #766018 #5D7618
triadic
#766018 #187660 #601876
tetradic
#766018 #187631 #182E76 #76185D
square
#766018 #187631 #182E76 #76185D
split-complementary
#766018 #185D76 #311876
monochromatic
#191505 #43370E #766018 #A98922 #D5AF33

Accessibility & contrast

On white

6.08
#766018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#766018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766018
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766018#FFFFFF#000000##FFFFFF
##7660181.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#805752
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #766018;
/* rgb */ color: rgb(118, 96, 24);
/* oklch */ color: oklch(49.8% 0.091 91.0);
Tailwind
colors: {
  custom: {
    50: '#a18c5b',
    500: '#766018',
    950: '#000000',
  },
}
SCSS
$custom: #766018;
$custom-light: #a18c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766018",
  "rgb": {
    "r": 118,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 45.957,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.09142,
    "h": 91
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#766018
secondary
#3F58AB
accent
#67E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766018

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

Preview Lab → · Contrast checker → · Palette generator →

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