#766E18#766E18

#766E18 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.0% C 0.102 H 103.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#766E18
RGBrgb(118, 110, 24)
HSLhsl(55, 66%, 28%)
HSVhsv(55, 80%, 46%)
CMYKcmyk(0%, 6.8%, 79.7%, 53.7%)
CIE-LABlab(45.73, -7.06, 45.51)
CIE-LCHlch(45.73, 46.06, 98.82°)
OKLaboklab(52.97% -0.0245 0.0995)
OKLCHoklch(52.97% 0.102 103.8)
XYZxyz(13.2126, 15.0699, 3.0768)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766E18 #182076
analogous
#763F18 #766E18 #4F7618
triadic
#766E18 #18766E #6E1876
tetradic
#766E18 #18763F #182076 #76184F
square
#766E18 #18763F #182076 #76184F
split-complementary
#766E18 #184F76 #3F1876
monochromatic
#191805 #433F0E #766E18 #A99D22 #D5C833

Accessibility & contrast

On white

5.23
#766E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#766E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766E18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766E18#FFFFFF#000000##FFFFFF
##766E181.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#7F665E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766e18;
/* rgb */ color: rgb(118, 110, 24);
/* oklch */ color: oklch(53.0% 0.102 103.8);
Tailwind
colors: {
  custom: {
    50: '#a1975d',
    500: '#766e18',
    950: '#000000',
  },
}
SCSS
$custom: #766e18;
$custom-light: #a1975d;
$custom-dark: #000000;
JSON
{
  "hex": "#766e18",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 54.894,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52974,
    "c": 0.10244,
    "h": 103.8
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#766E18
secondary
#3F48AB
accent
#4DE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766E18

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

Preview Lab → · Contrast checker → · Palette generator →

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