#767E2A#767E2A

#767E2A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.107 H 114.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#767E2A
RGBrgb(118, 126, 42)
HSLhsl(66, 50%, 33%)
HSVhsv(66, 67%, 49%)
CMYKcmyk(6.3%, 0%, 66.7%, 50.6%)
CIE-LABlab(50.62, -14.86, 43.06)
CIE-LCHlch(50.62, 45.55, 109.03°)
OKLaboklab(56.92% -0.0444 0.0976)
OKLCHoklch(56.92% 0.107 114.5)
XYZxyz(15.3504, 18.9407, 5.0373)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E2A #322A7E
analogous
#7E5C2A #767E2A #4C7E2A
triadic
#767E2A #2A767E #7E2A76
tetradic
#767E2A #2A7E5C #322A7E #7E2A4C
square
#767E2A #2A7E5C #322A7E #7E2A4C
split-complementary
#767E2A #2A4C7E #5C2A7E
monochromatic
#20220B #4B501B #767E2A #A1AC39 #BEC85A

Accessibility & contrast

On white

4.39
#767E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#767E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E2A#FFFFFF#000000##000000
##767E2A1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e2a;
/* rgb */ color: rgb(118, 126, 42);
/* oklch */ color: oklch(56.9% 0.107 114.5);
Tailwind
colors: {
  custom: {
    50: '#a0a368',
    500: '#767e2a',
    950: '#000000',
  },
}
SCSS
$custom: #767e2a;
$custom-light: #a0a368;
$custom-dark: #000000;
JSON
{
  "hex": "#767e2a",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 65.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.10726,
    "h": 114.5
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#767E2A
secondary
#5E56AE
accent
#4EDA5C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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