#766E1B#766E1B

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

Color values

HEX#766E1B
RGBrgb(118, 110, 27)
HSLhsl(55, 63%, 28%)
HSVhsv(55, 77%, 46%)
CMYKcmyk(0%, 6.8%, 77.1%, 53.7%)
CIE-LABlab(45.75, -6.93, 44.42)
CIE-LCHlch(45.75, 44.96, 98.86°)
OKLaboklab(52.99% -0.0238 0.0978)
OKLCHoklch(52.99% 0.101 103.7)
XYZxyz(13.2456, 15.0831, 3.2503)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766E1B #1B2376
analogous
#76401B #766E1B #50761B
triadic
#766E1B #1B766E #6E1B76
tetradic
#766E1B #1B7640 #1B2376 #761B50
square
#766E1B #1B7640 #1B2376 #761B50
split-complementary
#766E1B #1B5076 #401B76
monochromatic
#191706 #444010 #766E1B #A89C26 #D2C43A

Accessibility & contrast

On white

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

On black

4.02
#766E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##766E1B#FFFFFF#000000##FFFFFF
##766E1B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0B
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#7F665E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766e1b;
/* rgb */ color: rgb(118, 110, 27);
/* oklch */ color: oklch(53.0% 0.101 103.7);
Tailwind
colors: {
  custom: {
    50: '#a1975e',
    500: '#766e1b',
    950: '#000000',
  },
}
SCSS
$custom: #766e1b;
$custom-light: #a1975e;
$custom-dark: #000000;
JSON
{
  "hex": "#766e1b",
  "rgb": {
    "r": 118,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 54.725,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.10062,
    "h": 103.7
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#766E1B
secondary
#424CAA
accent
#50E642
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #766E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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