#767321#767321

#767321 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.102 H 107.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#767321
RGBrgb(118, 115, 33)
HSLhsl(58, 56%, 30%)
HSVhsv(58, 72%, 46%)
CMYKcmyk(0%, 2.5%, 72%, 53.7%)
CIE-LABlab(47.27, -9.42, 43.50)
CIE-LCHlch(47.27, 44.51, 102.21°)
OKLaboklab(54.22% -0.0302 0.097)
OKLCHoklch(54.22% 0.102 107.3)
XYZxyz(13.8770, 16.2233, 3.8390)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767321 #212476
analogous
#764821 #767321 #4F7621
triadic
#767321 #217673 #732176
tetradic
#767321 #217648 #212476 #76214F
square
#767321 #217648 #212476 #76214F
split-complementary
#767321 #214F76 #482176
monochromatic
#181707 #464414 #767321 #A6A22E #CBC746

Accessibility & contrast

On white

4.95
#767321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#767321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767321
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767321#FFFFFF#000000##FFFFFF
##7673211.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E14
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#7F6B63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767321;
/* rgb */ color: rgb(118, 115, 33);
/* oklch */ color: oklch(54.2% 0.102 107.3);
Tailwind
colors: {
  custom: {
    50: '#a09b62',
    500: '#767321',
    950: '#000000',
  },
}
SCSS
$custom: #767321;
$custom-light: #a09b62;
$custom-dark: #000000;
JSON
{
  "hex": "#767321",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 57.882,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.10157,
    "h": 107.3
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#767321
secondary
#4A4DA9
accent
#4EE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767321

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

Preview Lab → · Contrast checker → · Palette generator →

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