#767921#767921

#767921 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.108 H 111.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#767921
RGBrgb(118, 121, 33)
HSLhsl(62, 57%, 30%)
HSVhsv(62, 73%, 47%)
CMYKcmyk(2.5%, 0%, 72.7%, 52.5%)
CIE-LABlab(49.05, -12.72, 45.26)
CIE-LCHlch(49.05, 47.02, 105.70°)
OKLaboklab(55.64% -0.0394 0.1007)
OKLCHoklch(55.64% 0.108 111.4)
XYZxyz(14.5836, 17.6365, 4.0745)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767921 #242179
analogous
#795021 #767921 #4A7921
triadic
#767921 #217679 #792176
tetradic
#767921 #217950 #242179 #79214A
square
#767921 #217950 #242179 #79214A
split-complementary
#767921 #214A79 #502179
monochromatic
#181907 #474914 #767921 #A5A92E #C8CD47

Accessibility & contrast

On white

4.64
#767921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#767921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767921
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767921#FFFFFF#000000##FFFFFF
##7679211.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837312
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#7E7168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767921;
/* rgb */ color: rgb(118, 121, 33);
/* oklch */ color: oklch(55.6% 0.108 111.4);
Tailwind
colors: {
  custom: {
    50: '#a09f63',
    500: '#767921',
    950: '#000000',
  },
}
SCSS
$custom: #767921;
$custom-light: #a09f63;
$custom-dark: #000000;
JSON
{
  "hex": "#767921",
  "rgb": {
    "r": 118,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 62.045,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.10815,
    "h": 111.4
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#767921
secondary
#4D4AAC
accent
#47E04D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767921

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

Preview Lab → · Contrast checker → · Palette generator →

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