#766D18#766D18

#766D18 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.7% C 0.102 H 103.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#766D18
RGBrgb(118, 109, 24)
HSLhsl(54, 66%, 28%)
HSVhsv(54, 80%, 46%)
CMYKcmyk(0%, 7.6%, 79.7%, 53.7%)
CIE-LABlab(45.44, -6.50, 45.24)
CIE-LCHlch(45.44, 45.71, 98.17°)
OKLaboklab(52.74% -0.0229 0.0989)
OKLCHoklch(52.74% 0.102 103)
XYZxyz(13.1053, 14.8553, 3.0410)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D18 #182176
analogous
#763E18 #766D18 #507618
triadic
#766D18 #18766D #6D1876
tetradic
#766D18 #18763E #182176 #761850
square
#766D18 #18763E #182176 #761850
split-complementary
#766D18 #185076 #3E1876
monochromatic
#191705 #433E0E #766D18 #A99C22 #D5C633

Accessibility & contrast

On white

5.29
#766D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#766D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D18
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D18#FFFFFF#000000##FFFFFF
##766D181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786905
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#80655D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766d18;
/* rgb */ color: rgb(118, 109, 24);
/* oklch */ color: oklch(52.7% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#a1965d',
    500: '#766d18',
    950: '#000000',
  },
}
SCSS
$custom: #766d18;
$custom-light: #a1965d;
$custom-dark: #000000;
JSON
{
  "hex": "#766d18",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 54.255,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.10151,
    "h": 103
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#766D18
secondary
#3F49AB
accent
#4FE93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766D18

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

Preview Lab → · Contrast checker → · Palette generator →

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