#766B15#766B15

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

Color values

HEX#766B15
RGBrgb(118, 107, 21)
HSLhsl(53, 70%, 27%)
HSVhsv(53, 82%, 46%)
CMYKcmyk(0%, 9.3%, 82.2%, 53.7%)
CIE-LABlab(44.83, -5.49, 45.74)
CIE-LCHlch(44.83, 46.07, 96.84°)
OKLaboklab(52.26% -0.0203 0.0993)
OKLCHoklch(52.26% 0.101 101.6)
XYZxyz(12.8649, 14.4217, 2.8153)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B15 #152076
analogous
#763B15 #766B15 #517615
triadic
#766B15 #15766B #6B1576
tetradic
#766B15 #15763B #152076 #761551
square
#766B15 #15763B #152076 #761551
split-complementary
#766B15 #155176 #3B1576
monochromatic
#1A1805 #423C0C #766B15 #AA9A1E #D9C62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766B15#FFFFFF#000000##FFFFFF
##766B151.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)
#766800
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#80635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766b15;
/* rgb */ color: rgb(118, 107, 21);
/* oklch */ color: oklch(52.3% 0.101 101.6);
Tailwind
colors: {
  custom: {
    50: '#a1955b',
    500: '#766b15',
    950: '#000000',
  },
}
SCSS
$custom: #766b15;
$custom-light: #a1955b;
$custom-dark: #000000;
JSON
{
  "hex": "#766b15",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 53.196,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.10139,
    "h": 101.6
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#766B15
secondary
#3B48AC
accent
#4FED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766B15

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

Preview Lab → · Contrast checker → · Palette generator →

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