#768516#768516

#768516 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.128 H 117.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#768516
RGBrgb(118, 133, 22)
HSLhsl(68, 72%, 30%)
HSVhsv(68, 83%, 52%)
CMYKcmyk(11.3%, 0%, 83.5%, 47.8%)
CIE-LABlab(52.60, -19.60, 52.31)
CIE-LCHlch(52.60, 55.86, 110.54°)
OKLaboklab(58.47% -0.0594 0.1136)
OKLCHoklch(58.47% 0.128 117.6)
XYZxyz(16.0040, 20.6847, 3.9084)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768516 #251685
analogous
#855C16 #768516 #3E8516
triadic
#768516 #167685 #851676
tetradic
#768516 #16855C #251685 #85163E
square
#768516 #16855C #251685 #85163E
split-complementary
#768516 #163E85 #5C1685
monochromatic
#191C05 #47500D #768516 #A5BA1F #C7DE37

Accessibility & contrast

On white

4.09
#768516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#768516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768516
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768516#FFFFFF#000000##000000
##7685161.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#7E7D71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768516;
/* rgb */ color: rgb(118, 133, 22);
/* oklch */ color: oklch(58.5% 0.128 117.6);
Tailwind
colors: {
  custom: {
    50: '#a1a85f',
    500: '#768516',
    950: '#000000',
  },
}
SCSS
$custom: #768516;
$custom-light: #a1a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#768516",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 68.108,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.12822,
    "h": 117.6
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#768516
secondary
#4E3EB9
accent
#39EE52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768516

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

Preview Lab → · Contrast checker → · Palette generator →

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