#767B2F#767B2F

#767B2F is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.099 H 112.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#767B2F
RGBrgb(118, 123, 47)
HSLhsl(64, 45%, 33%)
HSVhsv(64, 62%, 48%)
CMYKcmyk(4.1%, 0%, 61.8%, 51.8%)
CIE-LABlab(49.77, -12.87, 39.85)
CIE-LCHlch(49.77, 41.88, 107.89°)
OKLaboklab(56.25% -0.0383 0.0916)
OKLCHoklch(56.25% 0.099 112.7)
XYZxyz(15.0676, 18.2230, 5.4124)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767B2F #342F7B
analogous
#7B5A2F #767B2F #507B2F
triadic
#767B2F #2F767B #7B2F76
tetradic
#767B2F #2F7B5A #342F7B #7B2F50
square
#767B2F #2F7B5A #342F7B #7B2F50
split-complementary
#767B2F #2F507B #5A2F7B
monochromatic
#21220D #4C4F1E #767B2F #A0A740 #BCC362

Accessibility & contrast

On white

4.52
#767B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#767B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767B2F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767B2F#FFFFFF#000000##000000
##767B2F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#7E746B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767b2f;
/* rgb */ color: rgb(118, 123, 47);
/* oklch */ color: oklch(56.3% 0.099 112.7);
Tailwind
colors: {
  custom: {
    50: '#a0a16b',
    500: '#767b2f',
    950: '#000000',
  },
}
SCSS
$custom: #767b2f;
$custom-light: #a0a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#767b2f",
  "rgb": {
    "r": 118,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 63.947,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.09926,
    "h": 112.7
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#767B2F
secondary
#615CAA
accent
#53D45C
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #767B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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