#768716#768716

#768716 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.131 H 118.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#768716
RGBrgb(118, 135, 22)
HSLhsl(69, 72%, 31%)
HSVhsv(69, 84%, 53%)
CMYKcmyk(12.6%, 0%, 83.7%, 47.1%)
CIE-LABlab(53.21, -20.63, 52.84)
CIE-LCHlch(53.21, 56.72, 111.33°)
OKLaboklab(58.96% -0.0623 0.1147)
OKLCHoklch(58.96% 0.131 118.5)
XYZxyz(16.2804, 21.2376, 4.0005)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768716 #271687
analogous
#875F16 #768716 #3D8716
triadic
#768716 #167687 #871676
tetradic
#768716 #16875F #271687 #87163D
square
#768716 #16875F #271687 #87163D
split-complementary
#768716 #163D87 #5F1687
monochromatic
#1A1E05 #48520D #768716 #A4BC1F #C6DF39

Accessibility & contrast

On white

4.00
#768716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#768716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768716
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768716#FFFFFF#000000##000000
##7687161.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #768716;
/* rgb */ color: rgb(118, 135, 22);
/* oklch */ color: oklch(59.0% 0.131 118.5);
Tailwind
colors: {
  custom: {
    50: '#a1a960',
    500: '#768716',
    950: '#000000',
  },
}
SCSS
$custom: #768716;
$custom-light: #a1a960;
$custom-dark: #000000;
JSON
{
  "hex": "#768716",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 69.027,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.13055,
    "h": 118.5
  },
  "luminance": 0.21237
}

Semantic roles & 50–950 ramp

primary
#768716
secondary
#513EBB
accent
#39EF54
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #768716

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

Preview Lab → · Contrast checker → · Palette generator →

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