#767A31#767A31

#767A31 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.096 H 112.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A31
RGBrgb(118, 122, 49)
HSLhsl(63, 43%, 34%)
HSVhsv(63, 60%, 48%)
CMYKcmyk(3.3%, 0%, 59.8%, 52.2%)
CIE-LABlab(49.49, -12.16, 38.58)
CIE-LCHlch(49.49, 40.45, 107.49°)
OKLaboklab(56.03% -0.036 0.0891)
OKLCHoklch(56.03% 0.096 112)
XYZxyz(14.9855, 17.9927, 5.5887)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A31 #35317A
analogous
#7A5931 #767A31 #517A31
triadic
#767A31 #31767A #7A3176
tetradic
#767A31 #317A59 #35317A #7A3151
square
#767A31 #317A59 #35317A #7A3151
split-complementary
#767A31 #31517A #59317A
monochromatic
#22230E #4C4E1F #767A31 #A0A643 #BCC164

Accessibility & contrast

On white

4.57
#767A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#767A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A31
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A31#FFFFFF#000000##000000
##767A311.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#7E736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767a31;
/* rgb */ color: rgb(118, 122, 49);
/* oklch */ color: oklch(56.0% 0.096 112.0);
Tailwind
colors: {
  custom: {
    50: '#9fa06c',
    500: '#767a31',
    950: '#000000',
  },
}
SCSS
$custom: #767a31;
$custom-light: #9fa06c;
$custom-dark: #000000;
JSON
{
  "hex": "#767a31",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 63.288,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.09616,
    "h": 112
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#767A31
secondary
#635EA8
accent
#55D25C
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767A31

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

Preview Lab → · Contrast checker → · Palette generator →

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