#788516#788516

#788516 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.127 H 116.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#788516
RGBrgb(120, 133, 22)
HSLhsl(67, 72%, 30%)
HSVhsv(67, 83%, 52%)
CMYKcmyk(9.8%, 0%, 83.5%, 47.8%)
CIE-LABlab(52.76, -18.70, 52.50)
CIE-LCHlch(52.76, 55.74, 109.61°)
OKLaboklab(58.64% -0.0571 0.1139)
OKLCHoklch(58.64% 0.127 116.6)
XYZxyz(16.2785, 20.8263, 3.9212)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788516 #231685
analogous
#855A16 #788516 #408516
triadic
#788516 #167885 #851678
tetradic
#788516 #16855A #231685 #851640
square
#788516 #16855A #231685 #851640
split-complementary
#788516 #164085 #5A1685
monochromatic
#191C05 #49500D #788516 #A7BA1F #CADE37

Accessibility & contrast

On white

4.07
#788516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#788516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788516
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788516#FFFFFF#000000##000000
##7885161.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#807D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #788516;
/* rgb */ color: rgb(120, 133, 22);
/* oklch */ color: oklch(58.6% 0.127 116.6);
Tailwind
colors: {
  custom: {
    50: '#a2a85f',
    500: '#788516',
    950: '#000000',
  },
}
SCSS
$custom: #788516;
$custom-light: #a2a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#788516",
  "rgb": {
    "r": 120,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 67.027,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.12745,
    "h": 116.6
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#788516
secondary
#4C3EB9
accent
#39EE4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788516

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

Preview Lab → · Contrast checker → · Palette generator →

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