#766B0F#766B0F

#766B0F is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.2% C 0.104 H 101.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#766B0F
RGBrgb(118, 107, 15)
HSLhsl(54, 77%, 26%)
HSVhsv(54, 87%, 46%)
CMYKcmyk(0%, 9.3%, 87.3%, 53.7%)
CIE-LABlab(44.80, -5.69, 47.56)
CIE-LCHlch(44.80, 47.90, 96.83°)
OKLaboklab(52.22% -0.0214 0.102)
OKLCHoklch(52.22% 0.104 101.9)
XYZxyz(12.8158, 14.4020, 2.5567)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B0F #0F1A76
analogous
#76370F #766B0F #4D760F
triadic
#766B0F #0F766B #6B0F76
tetradic
#766B0F #0F7637 #0F1A76 #760F4D
square
#766B0F #0F7637 #0F1A76 #760F4D
split-complementary
#766B0F #0F4D76 #370F76
monochromatic
#1B1903 #403A08 #766B0F #AC9C16 #E2CD1D

Accessibility & contrast

On white

5.41
#766B0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#766B0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766B0F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766B0F#FFFFFF#000000##FFFFFF
##766B0F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#796C17
Tritanopia (blue-blind)
#80625B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766b0f;
/* rgb */ color: rgb(118, 107, 15);
/* oklch */ color: oklch(52.2% 0.104 101.9);
Tailwind
colors: {
  custom: {
    50: '#a19559',
    500: '#766b0f',
    950: '#000000',
  },
}
SCSS
$custom: #766b0f;
$custom-light: #a19559;
$custom-dark: #000000;
JSON
{
  "hex": "#766b0f",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 15
  },
  "hsl": {
    "h": 53.592,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.10424,
    "h": 101.9
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#766B0F
secondary
#3340AD
accent
#48F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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