#788416#788416

#788416 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.126 H 116.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#788416
RGBrgb(120, 132, 22)
HSLhsl(67, 71%, 30%)
HSVhsv(67, 83%, 52%)
CMYKcmyk(9.1%, 0%, 83.3%, 48.2%)
CIE-LABlab(52.46, -18.18, 52.24)
CIE-LCHlch(52.46, 55.31, 109.19°)
OKLaboklab(58.39% -0.0557 0.1134)
OKLCHoklch(58.39% 0.126 116.1)
XYZxyz(16.1423, 20.5538, 3.8758)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788416 #221684
analogous
#845916 #788416 #418416
triadic
#788416 #167884 #841678
tetradic
#788416 #168459 #221684 #841641
square
#788416 #168459 #221684 #841641
split-complementary
#788416 #164184 #591684
monochromatic
#191B05 #48500D #788416 #A8B81F #CBDE37

Accessibility & contrast

On white

4.11
#788416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#788416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788416
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788416#FFFFFF#000000##000000
##7884161.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#807C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788416;
/* rgb */ color: rgb(120, 132, 22);
/* oklch */ color: oklch(58.4% 0.126 116.1);
Tailwind
colors: {
  custom: {
    50: '#a2a75f',
    500: '#788416',
    950: '#000000',
  },
}
SCSS
$custom: #788416;
$custom-light: #a2a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#788416",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 66.545,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.12631,
    "h": 116.1
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#788416
secondary
#4B3DB8
accent
#3AEE4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788416

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

Preview Lab → · Contrast checker → · Palette generator →

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