#788916#788916

#788916 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.6% C 0.132 H 118.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#788916
RGBrgb(120, 137, 22)
HSLhsl(69, 72%, 31%)
HSVhsv(69, 84%, 54%)
CMYKcmyk(12.4%, 0%, 83.9%, 46.3%)
CIE-LABlab(53.97, -20.77, 53.56)
CIE-LCHlch(53.97, 57.44, 111.20°)
OKLaboklab(59.61% -0.0628 0.1162)
OKLCHoklch(59.61% 0.132 118.4)
XYZxyz(16.8366, 21.9425, 4.1073)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788916 #271689
analogous
#896016 #788916 #3E8916
triadic
#788916 #167889 #891678
tetradic
#788916 #168960 #271689 #89163E
square
#788916 #168960 #271689 #89163E
split-complementary
#788916 #163E89 #601689
monochromatic
#1C2005 #4A540E #788916 #A6BE1E #C7DF3A

Accessibility & contrast

On white

3.90
#788916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#788916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788916
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788916#FFFFFF#000000##000000
##7889161.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#808175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788916;
/* rgb */ color: rgb(120, 137, 22);
/* oklch */ color: oklch(59.6% 0.132 118.4);
Tailwind
colors: {
  custom: {
    50: '#a2ab60',
    500: '#788916',
    950: '#000000',
  },
}
SCSS
$custom: #788916;
$custom-light: #a2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#788916",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 68.87,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.13207,
    "h": 118.4
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#788916
secondary
#513EBD
accent
#39EF54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788916

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

Preview Lab → · Contrast checker → · Palette generator →

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