#767A16#767A16

#767A16 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.116 H 112.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A16
RGBrgb(118, 122, 22)
HSLhsl(62, 69%, 28%)
HSVhsv(62, 82%, 48%)
CMYKcmyk(3.3%, 0%, 82%, 52.2%)
CIE-LABlab(49.29, -13.78, 49.39)
CIE-LCHlch(49.29, 51.27, 105.59°)
OKLaboklab(55.81% -0.0434 0.1073)
OKLCHoklch(55.81% 0.116 112)
XYZxyz(14.5761, 17.8289, 3.4324)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A16 #1A167A
analogous
#7A4C16 #767A16 #447A16
triadic
#767A16 #16767A #7A1676
tetradic
#767A16 #167A4C #1A167A #7A1644
square
#767A16 #167A4C #1A167A #7A1644
split-complementary
#767A16 #16447A #4C167A
monochromatic
#191A05 #44460D #767A16 #A8AE1F #D3DA31

Accessibility & contrast

On white

4.60
#767A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#767A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A16
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A16#FFFFFF#000000##FFFFFF
##767A161.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a16;
/* rgb */ color: rgb(118, 122, 22);
/* oklch */ color: oklch(55.8% 0.116 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a05e',
    500: '#767a16',
    950: '#000000',
  },
}
SCSS
$custom: #767a16;
$custom-light: #a1a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#767a16",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 62.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.11579,
    "h": 112
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#767A16
secondary
#413DAF
accent
#3CEC43
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767A16

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

Preview Lab → · Contrast checker → · Palette generator →

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