#767A2B#767A2B

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

Color values

HEX#767A2B
RGBrgb(118, 122, 43)
HSLhsl(63, 48%, 32%)
HSVhsv(63, 65%, 48%)
CMYKcmyk(3.3%, 0%, 64.8%, 52.2%)
CIE-LABlab(49.43, -12.62, 41.35)
CIE-LCHlch(49.43, 43.24, 106.97°)
OKLaboklab(55.97% -0.038 0.0942)
OKLCHoklch(55.97% 0.102 112)
XYZxyz(14.8672, 17.9454, 4.9657)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A2B #2F2B7A
analogous
#7A572B #767A2B #4F7A2B
triadic
#767A2B #2B767A #7A2B76
tetradic
#767A2B #2B7A57 #2F2B7A #7A2B4F
square
#767A2B #2B7A57 #2F2B7A #7A2B4F
split-complementary
#767A2B #2B4F7A #572B7A
monochromatic
#1E1F0B #4A4D1B #767A2B #A2A73B #C0C55A

Accessibility & contrast

On white

4.58
#767A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#767A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A2B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A2B#FFFFFF#000000##000000
##767A2B1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#7E736A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a2b;
/* rgb */ color: rgb(118, 122, 43);
/* oklch */ color: oklch(56.0% 0.102 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a068',
    500: '#767a2b',
    950: '#000000',
  },
}
SCSS
$custom: #767a2b;
$custom-light: #a0a068;
$custom-dark: #000000;
JSON
{
  "hex": "#767a2b",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 63.038,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.10158,
    "h": 112
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#767A2B
secondary
#5A56AB
accent
#50D757
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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