#767A21#767A21

#767A21 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.109 H 112.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A21
RGBrgb(118, 122, 33)
HSLhsl(63, 57%, 30%)
HSVhsv(63, 73%, 48%)
CMYKcmyk(3.3%, 0%, 73%, 52.2%)
CIE-LABlab(49.35, -13.26, 45.56)
CIE-LCHlch(49.35, 47.45, 106.23°)
OKLaboklab(55.88% -0.0409 0.1013)
OKLCHoklch(55.88% 0.109 112)
XYZxyz(14.7057, 17.8808, 4.1152)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A21 #25217A
analogous
#7A5221 #767A21 #497A21
triadic
#767A21 #21767A #7A2176
tetradic
#767A21 #217A52 #25217A #7A2149
square
#767A21 #217A52 #25217A #7A2149
split-complementary
#767A21 #21497A #52217A
monochromatic
#191A07 #474A14 #767A21 #A5AA2E #C7CD48

Accessibility & contrast

On white

4.59
#767A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#767A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A21
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A21#FFFFFF#000000##FFFFFF
##767A211.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847412
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#7E7269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a21;
/* rgb */ color: rgb(118, 122, 33);
/* oklch */ color: oklch(55.9% 0.109 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a063',
    500: '#767a21',
    950: '#000000',
  },
}
SCSS
$custom: #767a21;
$custom-light: #a0a063;
$custom-dark: #000000;
JSON
{
  "hex": "#767a21",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 62.697,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.10929,
    "h": 112
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#767A21
secondary
#4E4AAD
accent
#47E14E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #767A21

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

Preview Lab → · Contrast checker → · Palette generator →

#767A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva