#767F2B#767F2B

#767F2B is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.108 H 115.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#767F2B
RGBrgb(118, 127, 43)
HSLhsl(66, 49%, 33%)
HSVhsv(66, 66%, 50%)
CMYKcmyk(7.1%, 0%, 66.1%, 50.2%)
CIE-LABlab(50.93, -15.32, 42.94)
CIE-LCHlch(50.93, 45.59, 109.64°)
OKLaboklab(57.17% -0.0456 0.0975)
OKLCHoklch(57.17% 0.108 115.1)
XYZxyz(15.4970, 19.2050, 5.1756)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767F2B #342B7F
analogous
#7F5E2B #767F2B #4C7F2B
triadic
#767F2B #2B767F #7F2B76
tetradic
#767F2B #2B7F5E #342B7F #7F2B4C
square
#767F2B #2B7F5E #342B7F #7F2B4C
split-complementary
#767F2B #2B4C7F #5E2B7F
monochromatic
#21240C #4C511C #767F2B #A0AD3A #BCC85C

Accessibility & contrast

On white

4.34
#767F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#767F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767F2B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767F2B#FFFFFF#000000##000000
##767F2B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887920
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#7D786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #767f2b;
/* rgb */ color: rgb(118, 127, 43);
/* oklch */ color: oklch(57.2% 0.108 115.1);
Tailwind
colors: {
  custom: {
    50: '#a0a469',
    500: '#767f2b',
    950: '#000000',
  },
}
SCSS
$custom: #767f2b;
$custom-light: #a0a469;
$custom-dark: #000000;
JSON
{
  "hex": "#767f2b",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 66.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.10768,
    "h": 115.1
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#767F2B
secondary
#6158AE
accent
#4FD95E
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #767F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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