#768016#768016

#768016 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.122 H 115.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#768016
RGBrgb(118, 128, 22)
HSLhsl(66, 71%, 29%)
HSVhsv(66, 83%, 50%)
CMYKcmyk(7.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(51.09, -16.99, 50.98)
CIE-LCHlch(51.09, 53.74, 108.43°)
OKLaboklab(57.26% -0.0523 0.1108)
OKLCHoklch(57.26% 0.122 115.3)
XYZxyz(15.3357, 19.3481, 3.6856)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768016 #201680
analogous
#805516 #768016 #418016
triadic
#768016 #167680 #801676
tetradic
#768016 #168055 #201680 #801641
square
#768016 #168055 #201680 #801641
split-complementary
#768016 #164180 #551680
monochromatic
#181A04 #464C0D #768016 #A6B41F #CCDC34

Accessibility & contrast

On white

4.31
#768016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#768016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768016
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768016#FFFFFF#000000##000000
##7680161.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#7E786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768016;
/* rgb */ color: rgb(118, 128, 22);
/* oklch */ color: oklch(57.3% 0.122 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a45f',
    500: '#768016',
    950: '#000000',
  },
}
SCSS
$custom: #768016;
$custom-light: #a1a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#768016",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 65.66,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.12247,
    "h": 115.3
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#768016
secondary
#483DB5
accent
#3AED4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768016

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

Preview Lab → · Contrast checker → · Palette generator →

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