#767331#767331

#767331 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.088 H 106.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#767331
RGBrgb(118, 115, 49)
HSLhsl(57, 41%, 33%)
HSVhsv(57, 58%, 46%)
CMYKcmyk(0%, 2.5%, 58.5%, 53.7%)
CIE-LABlab(47.41, -8.28, 36.25)
CIE-LCHlch(47.41, 37.18, 102.87°)
OKLaboklab(54.38% -0.0251 0.0842)
OKLCHoklch(54.38% 0.088 106.6)
XYZxyz(14.1567, 16.3352, 5.3124)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767331 #313476
analogous
#765031 #767331 #577631
triadic
#767331 #317673 #733176
tetradic
#767331 #317650 #313476 #763157
square
#767331 #317650 #313476 #763157
split-complementary
#767331 #315776 #503176
monochromatic
#201F0D #4B491F #767331 #A19D43 #BEBA63

Accessibility & contrast

On white

4.92
#767331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#767331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767331
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767331#FFFFFF#000000##FFFFFF
##7673311.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#7E6C64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767331;
/* rgb */ color: rgb(118, 115, 49);
/* oklch */ color: oklch(54.4% 0.088 106.6);
Tailwind
colors: {
  custom: {
    50: '#9f9b6c',
    500: '#767331',
    950: '#000000',
  },
}
SCSS
$custom: #767331;
$custom-light: #9f9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#767331",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 57.391,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.08781,
    "h": 106.6
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#767331
secondary
#5D60A6
accent
#5CD157
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767331

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

Preview Lab → · Contrast checker → · Palette generator →

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