#767D2B#767D2B

#767D2B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.105 H 113.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#767D2B
RGBrgb(118, 125, 43)
HSLhsl(65, 49%, 33%)
HSVhsv(65, 66%, 49%)
CMYKcmyk(5.6%, 0%, 65.6%, 51%)
CIE-LABlab(50.33, -14.25, 42.31)
CIE-LCHlch(50.33, 44.64, 108.61°)
OKLaboklab(56.69% -0.0426 0.0962)
OKLCHoklch(56.69% 0.105 113.9)
XYZxyz(15.2413, 18.6935, 5.0903)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D2B #322B7D
analogous
#7D5B2B #767D2B #4D7D2B
triadic
#767D2B #2B767D #7D2B76
tetradic
#767D2B #2B7D5B #322B7D #7D2B4D
square
#767D2B #2B7D5B #322B7D #7D2B4D
split-complementary
#767D2B #2B4D7D #5B2B7D
monochromatic
#20220C #4B4F1B #767D2B #A1AB3B #BEC75C

Accessibility & contrast

On white

4.43
#767D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#767D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D2B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D2B#FFFFFF#000000##000000
##767D2B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#7E766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d2b;
/* rgb */ color: rgb(118, 125, 43);
/* oklch */ color: oklch(56.7% 0.105 113.9);
Tailwind
colors: {
  custom: {
    50: '#a0a269',
    500: '#767d2b',
    950: '#000000',
  },
}
SCSS
$custom: #767d2b;
$custom-light: #a0a269;
$custom-dark: #000000;
JSON
{
  "hex": "#767d2b",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 65.122,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.10521,
    "h": 113.9
  },
  "luminance": 0.18693
}

Semantic roles & 50–950 ramp

primary
#767D2B
secondary
#5E57AD
accent
#4FD85B
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #767D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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