#767316#767316

#767316 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.1% C 0.108 H 107.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#767316
RGBrgb(118, 115, 22)
HSLhsl(58, 69%, 27%)
HSVhsv(58, 81%, 46%)
CMYKcmyk(0%, 2.5%, 81.4%, 53.7%)
CIE-LABlab(47.20, -9.95, 47.53)
CIE-LCHlch(47.20, 48.56, 101.82°)
OKLaboklab(54.14% -0.0327 0.1034)
OKLCHoklch(54.14% 0.108 107.6)
XYZxyz(13.7473, 16.1714, 3.1561)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767316 #161976
analogous
#764316 #767316 #497616
triadic
#767316 #167673 #731676
tetradic
#767316 #167643 #161976 #761649
square
#767316 #167643 #161976 #761649
split-complementary
#767316 #164976 #431676
monochromatic
#1A1905 #42410C #767316 #AAA520 #D8D32E

Accessibility & contrast

On white

4.96
#767316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#767316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767316
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767316#FFFFFF#000000##FFFFFF
##7673161.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#7F6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767316;
/* rgb */ color: rgb(118, 115, 22);
/* oklch */ color: oklch(54.1% 0.108 107.6);
Tailwind
colors: {
  custom: {
    50: '#a19b5d',
    500: '#767316',
    950: '#000000',
  },
}
SCSS
$custom: #767316;
$custom-light: #a19b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767316",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 58.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.10842,
    "h": 107.6
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#767316
secondary
#3C40AC
accent
#42EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767316

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

Preview Lab → · Contrast checker → · Palette generator →

#767316 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva