#767D31#767D31

#767D31 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.100 H 114.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#767D31
RGBrgb(118, 125, 49)
HSLhsl(66, 44%, 34%)
HSVhsv(66, 61%, 49%)
CMYKcmyk(5.6%, 0%, 60.8%, 51%)
CIE-LABlab(50.38, -13.79, 39.58)
CIE-LCHlch(50.38, 41.91, 109.21°)
OKLaboklab(56.75% -0.0406 0.0913)
OKLCHoklch(56.75% 0.1 114)
XYZxyz(15.3595, 18.7408, 5.7133)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D31 #38317D
analogous
#7D5E31 #767D31 #507D31
triadic
#767D31 #31767D #7D3176
tetradic
#767D31 #317D5E #38317D #7D3150
square
#767D31 #317D5E #38317D #7D3150
split-complementary
#767D31 #31507D #5E317D
monochromatic
#23250F #4C5120 #767D31 #A0A942 #BAC366

Accessibility & contrast

On white

4.42
#767D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#767D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D31
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D31#FFFFFF#000000##000000
##767D311.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867729
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#7D766D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d31;
/* rgb */ color: rgb(118, 125, 49);
/* oklch */ color: oklch(56.8% 0.100 114.0);
Tailwind
colors: {
  custom: {
    50: '#9fa26c',
    500: '#767d31',
    950: '#000000',
  },
}
SCSS
$custom: #767d31;
$custom-light: #9fa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#767d31",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 65.526,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.09991,
    "h": 114
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#767D31
secondary
#6660AA
accent
#54D360
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #767D31

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

Preview Lab → · Contrast checker → · Palette generator →

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