#766B17#766B17

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

Color values

HEX#766B17
RGBrgb(118, 107, 23)
HSLhsl(53, 67%, 28%)
HSVhsv(53, 81%, 46%)
CMYKcmyk(0%, 9.3%, 80.5%, 53.7%)
CIE-LABlab(44.84, -5.40, 45.06)
CIE-LCHlch(44.84, 45.38, 96.84°)
OKLaboklab(52.27% -0.0199 0.0983)
OKLCHoklch(52.27% 0.1 101.5)
XYZxyz(12.8842, 14.4294, 2.9169)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B17 #172276
analogous
#763C17 #766B17 #517617
triadic
#766B17 #17766B #6B1776
tetradic
#766B17 #17763C #172276 #761751
square
#766B17 #17763C #172276 #761751
split-complementary
#766B17 #175176 #3C1776
monochromatic
#1A1705 #433D0D #766B17 #A99921 #D7C431

Accessibility & contrast

On white

5.40
#766B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#766B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766B17
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766B17#FFFFFF#000000##FFFFFF
##766B171.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#80635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766b17;
/* rgb */ color: rgb(118, 107, 23);
/* oklch */ color: oklch(52.3% 0.100 101.5);
Tailwind
colors: {
  custom: {
    50: '#a1955c',
    500: '#766b17',
    950: '#000000',
  },
}
SCSS
$custom: #766b17;
$custom-light: #a1955c;
$custom-dark: #000000;
JSON
{
  "hex": "#766b17",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 53.053,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.10029,
    "h": 101.5
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#766B17
secondary
#3E4AAB
accent
#52EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766B17

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

Preview Lab → · Contrast checker → · Palette generator →

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