#767D2F#767D2F

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

Color values

HEX#767D2F
RGBrgb(118, 125, 47)
HSLhsl(65, 45%, 34%)
HSVhsv(65, 62%, 49%)
CMYKcmyk(5.6%, 0%, 62.4%, 51%)
CIE-LABlab(50.36, -13.95, 40.51)
CIE-LCHlch(50.36, 42.84, 109.00°)
OKLaboklab(56.73% -0.0413 0.093)
OKLCHoklch(56.73% 0.102 114)
XYZxyz(15.3183, 18.7243, 5.4960)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D2F #362F7D
analogous
#7D5D2F #767D2F #4F7D2F
triadic
#767D2F #2F767D #7D2F76
tetradic
#767D2F #2F7D5D #362F7D #7D2F4F
square
#767D2F #2F7D5D #362F7D #7D2F4F
split-complementary
#767D2F #2F4F7D #5D2F7D
monochromatic
#22240E #4C511E #767D2F #A0A940 #BBC462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767D2F#FFFFFF#000000##000000
##767D2F1.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)
#867726
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767d2f;
/* rgb */ color: rgb(118, 125, 47);
/* oklch */ color: oklch(56.7% 0.102 114.0);
Tailwind
colors: {
  custom: {
    50: '#a0a26b',
    500: '#767d2f',
    950: '#000000',
  },
}
SCSS
$custom: #767d2f;
$custom-light: #a0a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#767d2f",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 65.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.10174,
    "h": 114
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#767D2F
secondary
#645DAB
accent
#53D55E
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #767D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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