#767E2B#767E2B

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

Color values

HEX#767E2B
RGBrgb(118, 126, 43)
HSLhsl(66, 49%, 33%)
HSVhsv(66, 66%, 49%)
CMYKcmyk(6.3%, 0%, 65.9%, 50.6%)
CIE-LABlab(50.63, -14.79, 42.62)
CIE-LCHlch(50.63, 45.12, 109.13°)
OKLaboklab(56.93% -0.0441 0.0969)
OKLCHoklch(56.93% 0.106 114.5)
XYZxyz(15.3685, 18.9479, 5.1328)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E2B #332B7E
analogous
#7E5C2B #767E2B #4C7E2B
triadic
#767E2B #2B767E #7E2B76
tetradic
#767E2B #2B7E5C #332B7E #7E2B4C
square
#767E2B #2B7E5C #332B7E #7E2B4C
split-complementary
#767E2B #2B4C7E #5C2B7E
monochromatic
#21230C #4B501B #767E2B #A1AC3B #BDC75C

Accessibility & contrast

On white

4.38
#767E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767E2B#FFFFFF#000000##000000
##767E2B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#877931
Tritanopia (blue-blind)
#7E776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e2b;
/* rgb */ color: rgb(118, 126, 43);
/* oklch */ color: oklch(56.9% 0.106 114.5);
Tailwind
colors: {
  custom: {
    50: '#a0a369',
    500: '#767e2b',
    950: '#000000',
  },
}
SCSS
$custom: #767e2b;
$custom-light: #a0a369;
$custom-dark: #000000;
JSON
{
  "hex": "#767e2b",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 65.783,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.10644,
    "h": 114.5
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#767E2B
secondary
#6058AD
accent
#4FD95C
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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