#767D21#767D21

#767D21 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.113 H 113.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#767D21
RGBrgb(118, 125, 33)
HSLhsl(65, 58%, 31%)
HSVhsv(65, 74%, 49%)
CMYKcmyk(5.6%, 0%, 73.6%, 51%)
CIE-LABlab(50.25, -14.88, 46.44)
CIE-LCHlch(50.25, 48.76, 107.77°)
OKLaboklab(56.6% -0.0454 0.1032)
OKLCHoklch(56.6% 0.113 113.8)
XYZxyz(15.0798, 18.6289, 4.2399)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D21 #28217D
analogous
#7D5621 #767D21 #487D21
triadic
#767D21 #21767D #7D2176
tetradic
#767D21 #217D56 #28217D #7D2148
square
#767D21 #217D56 #28217D #7D2148
split-complementary
#767D21 #21487D #56217D
monochromatic
#1B1C07 #484D14 #767D21 #A4AD2E #C5CF49

Accessibility & contrast

On white

4.44
#767D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#767D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D21
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D21#FFFFFF#000000##000000
##767D211.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#7E756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d21;
/* rgb */ color: rgb(118, 125, 33);
/* oklch */ color: oklch(56.6% 0.113 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a263',
    500: '#767d21',
    950: '#000000',
  },
}
SCSS
$custom: #767d21;
$custom-light: #a0a263;
$custom-dark: #000000;
JSON
{
  "hex": "#767d21",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 64.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.11275,
    "h": 113.8
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#767D21
secondary
#524AB0
accent
#46E152
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767D21

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

Preview Lab → · Contrast checker → · Palette generator →

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