#767816#767816

#767816 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.114 H 110.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#767816
RGBrgb(118, 120, 22)
HSLhsl(61, 69%, 28%)
HSVhsv(61, 82%, 47%)
CMYKcmyk(1.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(48.69, -12.70, 48.85)
CIE-LCHlch(48.69, 50.48, 104.57°)
OKLaboklab(55.33% -0.0404 0.1062)
OKLCHoklch(55.33% 0.114 110.8)
XYZxyz(14.3330, 17.3428, 3.3514)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767816 #181678
analogous
#784916 #767816 #457816
triadic
#767816 #167678 #781676
tetradic
#767816 #167849 #181678 #781645
square
#767816 #167849 #181678 #781645
split-complementary
#767816 #164578 #491678
monochromatic
#191A05 #43440D #767816 #A9AC1F #D5D92F

Accessibility & contrast

On white

4.70
#767816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#767816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767816
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767816#FFFFFF#000000##FFFFFF
##7678161.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#7F7066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #767816;
/* rgb */ color: rgb(118, 120, 22);
/* oklch */ color: oklch(55.3% 0.114 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19e5d',
    500: '#767816',
    950: '#000000',
  },
}
SCSS
$custom: #767816;
$custom-light: #a19e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767816",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 61.224,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.11363,
    "h": 110.8
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#767816
secondary
#3F3CAD
accent
#3CEC40
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767816

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

Preview Lab → · Contrast checker → · Palette generator →

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