#766F18#766F18

#766F18 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.2% C 0.103 H 104.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#766F18
RGBrgb(118, 111, 24)
HSLhsl(56, 66%, 28%)
HSVhsv(56, 80%, 46%)
CMYKcmyk(0%, 5.9%, 79.7%, 53.7%)
CIE-LABlab(46.02, -7.63, 45.78)
CIE-LCHlch(46.02, 46.41, 99.46°)
OKLaboklab(53.21% -0.0261 0.1001)
OKLCHoklch(53.21% 0.103 104.6)
XYZxyz(13.3211, 15.2869, 3.1130)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766F18 #181F76
analogous
#764018 #766F18 #4E7618
triadic
#766F18 #18766F #6F1876
tetradic
#766F18 #187640 #181F76 #76184E
square
#766F18 #187640 #181F76 #76184E
split-complementary
#766F18 #184E76 #401876
monochromatic
#191805 #433F0E #766F18 #A99F22 #D5C933

Accessibility & contrast

On white

5.18
#766F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#766F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766F18
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766F18#FFFFFF#000000##FFFFFF
##766F181.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#7F675F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766f18;
/* rgb */ color: rgb(118, 111, 24);
/* oklch */ color: oklch(53.2% 0.103 104.6);
Tailwind
colors: {
  custom: {
    50: '#a1985d',
    500: '#766f18',
    950: '#000000',
  },
}
SCSS
$custom: #766f18;
$custom-light: #a1985d;
$custom-dark: #000000;
JSON
{
  "hex": "#766f18",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 55.532,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.10339,
    "h": 104.6
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#766F18
secondary
#3F47AB
accent
#4BE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766F18

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

Preview Lab → · Contrast checker → · Palette generator →

#766F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva