#766728#766728

#766728 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.084 H 95.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#766728
RGBrgb(118, 103, 40)
HSLhsl(48, 49%, 31%)
HSVhsv(48, 66%, 46%)
CMYKcmyk(0%, 12.7%, 66.1%, 53.7%)
CIE-LABlab(43.81, -2.14, 36.72)
CIE-LCHlch(43.81, 36.79, 93.34°)
OKLaboklab(51.49% -0.0086 0.0839)
OKLCHoklch(51.49% 0.084 95.9)
XYZxyz(12.7050, 13.7059, 3.9834)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766728 #283776
analogous
#764028 #766728 #5E7628
triadic
#766728 #287667 #672876
tetradic
#766728 #287640 #283776 #76285E
square
#766728 #287640 #283776 #76285E
split-complementary
#766728 #285E76 #402876
monochromatic
#1B1709 #483F19 #766728 #A48F37 #C5AF54

Accessibility & contrast

On white

5.61
#766728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#766728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766728
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766728#FFFFFF#000000##FFFFFF
##7667281.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716521
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#7F5F5A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766728;
/* rgb */ color: rgb(118, 103, 40);
/* oklch */ color: oklch(51.5% 0.084 95.9);
Tailwind
colors: {
  custom: {
    50: '#a09265',
    500: '#766728',
    950: '#000000',
  },
}
SCSS
$custom: #766728;
$custom-light: #a09265;
$custom-dark: #000000;
JSON
{
  "hex": "#766728",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 48.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.08433,
    "h": 95.9
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#766728
secondary
#5262A8
accent
#69D94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #766728

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

Preview Lab → · Contrast checker → · Palette generator →

#766728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva