#767E16#767E16

#767E16 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.120 H 114.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#767E16
RGBrgb(118, 126, 22)
HSLhsl(65, 70%, 29%)
HSVhsv(65, 83%, 49%)
CMYKcmyk(6.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(50.49, -15.93, 50.45)
CIE-LCHlch(50.49, 52.90, 107.52°)
OKLaboklab(56.77% -0.0493 0.1096)
OKLCHoklch(56.77% 0.12 114.2)
XYZxyz(15.0774, 18.8315, 3.5995)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E16 #1E167E
analogous
#7E5216 #767E16 #427E16
triadic
#767E16 #16767E #7E1676
tetradic
#767E16 #167E52 #1E167E #7E1642
square
#767E16 #167E52 #1E167E #7E1642
split-complementary
#767E16 #16427E #52167E
monochromatic
#181A05 #454A0D #767E16 #A7B21F #CEDB33

Accessibility & contrast

On white

4.41
#767E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#767E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E16#FFFFFF#000000##000000
##767E161.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#7E766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e16;
/* rgb */ color: rgb(118, 126, 22);
/* oklch */ color: oklch(56.8% 0.120 114.2);
Tailwind
colors: {
  custom: {
    50: '#a1a35e',
    500: '#767e16',
    950: '#000000',
  },
}
SCSS
$custom: #767e16;
$custom-light: #a1a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#767e16",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 64.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.12021,
    "h": 114.2
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#767E16
secondary
#463DB3
accent
#3BED48
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767E16

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

Preview Lab → · Contrast checker → · Palette generator →

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