#767421#767421

#767421 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.103 H 108.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#767421
RGBrgb(118, 116, 33)
HSLhsl(59, 56%, 30%)
HSVhsv(59, 72%, 46%)
CMYKcmyk(0%, 1.7%, 72%, 53.7%)
CIE-LABlab(47.56, -9.97, 43.79)
CIE-LCHlch(47.56, 44.91, 102.83°)
OKLaboklab(54.45% -0.0317 0.0976)
OKLCHoklch(54.45% 0.103 108)
XYZxyz(13.9916, 16.4526, 3.8772)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767421 #212376
analogous
#764A21 #767421 #4E7621
triadic
#767421 #217674 #742176
tetradic
#767421 #21764A #212376 #76214E
square
#767421 #21764A #212376 #76214E
split-complementary
#767421 #214E76 #4A2176
monochromatic
#181807 #464514 #767421 #A6A32E #CBC846

Accessibility & contrast

On white

4.89
#767421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#767421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767421
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767421#FFFFFF#000000##FFFFFF
##7674211.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#7F6C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #767421;
/* rgb */ color: rgb(118, 116, 33);
/* oklch */ color: oklch(54.5% 0.103 108.0);
Tailwind
colors: {
  custom: {
    50: '#a09b62',
    500: '#767421',
    950: '#000000',
  },
}
SCSS
$custom: #767421;
$custom-light: #a09b62;
$custom-dark: #000000;
JSON
{
  "hex": "#767421",
  "rgb": {
    "r": 118,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 58.588,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.10263,
    "h": 108
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#767421
secondary
#4A4CA9
accent
#4CE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767421

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

Preview Lab → · Contrast checker → · Palette generator →

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