#767931#767931

#767931 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.095 H 111.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#767931
RGBrgb(118, 121, 49)
HSLhsl(63, 42%, 33%)
HSVhsv(63, 60%, 47%)
CMYKcmyk(2.5%, 0%, 59.5%, 52.5%)
CIE-LABlab(49.19, -11.61, 38.25)
CIE-LCHlch(49.19, 39.97, 106.89°)
OKLaboklab(55.8% -0.0345 0.0884)
OKLCHoklch(55.8% 0.095 111.3)
XYZxyz(14.8633, 17.7484, 5.5479)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767931 #343179
analogous
#795831 #767931 #527931
triadic
#767931 #317679 #793176
tetradic
#767931 #317958 #343179 #793152
square
#767931 #317958 #343179 #793152
split-complementary
#767931 #315279 #583179
monochromatic
#21220E #4C4D1F #767931 #A0A543 #BCC064

Accessibility & contrast

On white

4.62
#767931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#767931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767931
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767931#FFFFFF#000000##FFFFFF
##7679311.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #767931;
/* rgb */ color: rgb(118, 121, 49);
/* oklch */ color: oklch(55.8% 0.095 111.3);
Tailwind
colors: {
  custom: {
    50: '#9f9f6c',
    500: '#767931',
    950: '#000000',
  },
}
SCSS
$custom: #767931;
$custom-light: #9f9f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#767931",
  "rgb": {
    "r": 118,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 62.5,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.09493,
    "h": 111.3
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#767931
secondary
#615EA8
accent
#56D25B
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767931

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

Preview Lab → · Contrast checker → · Palette generator →

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