#767216#767216

#767216 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.107 H 106.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#767216
RGBrgb(118, 114, 22)
HSLhsl(58, 69%, 27%)
HSVhsv(58, 81%, 46%)
CMYKcmyk(0%, 3.4%, 81.4%, 53.7%)
CIE-LABlab(46.90, -9.39, 47.26)
CIE-LCHlch(46.90, 48.19, 101.24°)
OKLaboklab(53.9% -0.0312 0.1028)
OKLCHoklch(53.9% 0.107 106.9)
XYZxyz(13.6339, 15.9446, 3.1183)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767216 #161A76
analogous
#764216 #767216 #4A7616
triadic
#767216 #167672 #721676
tetradic
#767216 #167642 #161A76 #76164A
square
#767216 #167642 #161A76 #76164A
split-complementary
#767216 #164A76 #421676
monochromatic
#1A1905 #42400C #767216 #AAA420 #D8D12E

Accessibility & contrast

On white

5.01
#767216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#767216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767216
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767216#FFFFFF#000000##FFFFFF
##7672161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#7F6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #767216;
/* rgb */ color: rgb(118, 114, 22);
/* oklch */ color: oklch(53.9% 0.107 106.9);
Tailwind
colors: {
  custom: {
    50: '#a19a5c',
    500: '#767216',
    950: '#000000',
  },
}
SCSS
$custom: #767216;
$custom-light: #a19a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#767216",
  "rgb": {
    "r": 118,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 57.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.10742,
    "h": 106.9
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#767216
secondary
#3C41AC
accent
#44EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #767216

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

Preview Lab → · Contrast checker → · Palette generator →

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