#766E27#766E27

#766E27 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.092 H 102.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#766E27
RGBrgb(118, 110, 39)
HSLhsl(54, 50%, 31%)
HSVhsv(54, 67%, 46%)
CMYKcmyk(0%, 6.8%, 66.9%, 53.7%)
CIE-LABlab(45.84, -6.23, 39.38)
CIE-LCHlch(45.84, 39.87, 98.99°)
OKLaboklab(53.1% -0.0204 0.0894)
OKLCHoklch(53.1% 0.092 102.9)
XYZxyz(13.4139, 15.1504, 4.1368)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766E27 #272F76
analogous
#764627 #766E27 #567627
triadic
#766E27 #27766E #6E2776
tetradic
#766E27 #277646 #272F76 #762756
square
#766E27 #277646 #272F76 #762756
split-complementary
#766E27 #275676 #462776
monochromatic
#1A1809 #484318 #766E27 #A49936 #C6BA52

Accessibility & contrast

On white

5.21
#766E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#766E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766E27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766E27#FFFFFF#000000##FFFFFF
##766E271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#7F665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766e27;
/* rgb */ color: rgb(118, 110, 39);
/* oklch */ color: oklch(53.1% 0.092 102.9);
Tailwind
colors: {
  custom: {
    50: '#a09765',
    500: '#766e27',
    950: '#000000',
  },
}
SCSS
$custom: #766e27;
$custom-light: #a09765;
$custom-dark: #000000;
JSON
{
  "hex": "#766e27",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 53.924,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.09168,
    "h": 102.9
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#766E27
secondary
#5159A8
accent
#5CDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #766E27

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

Preview Lab → · Contrast checker → · Palette generator →

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