#766822#766822

#766822 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.090 H 97.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#766822
RGBrgb(118, 104, 34)
HSLhsl(50, 55%, 30%)
HSVhsv(50, 71%, 46%)
CMYKcmyk(0%, 11.9%, 71.2%, 53.7%)
CIE-LABlab(44.04, -3.12, 39.81)
CIE-LCHlch(44.04, 39.93, 94.48°)
OKLaboklab(51.66% -0.0122 0.0894)
OKLCHoklch(51.66% 0.09 97.8)
XYZxyz(12.7109, 13.8683, 3.5204)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766822 #223076
analogous
#763E22 #766822 #5A7622
triadic
#766822 #227668 #682276
tetradic
#766822 #22763E #223076 #76225A
square
#766822 #22763E #223076 #76225A
split-complementary
#766822 #225A76 #3E2276
monochromatic
#181507 #463E14 #766822 #A69230 #CAB548

Accessibility & contrast

On white

5.56
#766822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#766822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766822
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766822#FFFFFF#000000##FFFFFF
##7668221.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736519
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#7F605A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766822;
/* rgb */ color: rgb(118, 104, 34);
/* oklch */ color: oklch(51.7% 0.090 97.8);
Tailwind
colors: {
  custom: {
    50: '#a09261',
    500: '#766822',
    950: '#000000',
  },
}
SCSS
$custom: #766822;
$custom-light: #a09261;
$custom-dark: #000000;
JSON
{
  "hex": "#766822",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 50,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.09022,
    "h": 97.8
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#766822
secondary
#4B5AA9
accent
#62DF49
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #766822

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

Preview Lab → · Contrast checker → · Palette generator →

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