#788C16#788C16

#788C16 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.136 H 119.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#788C16
RGBrgb(120, 140, 22)
HSLhsl(70, 73%, 32%)
HSVhsv(70, 84%, 55%)
CMYKcmyk(14.3%, 0%, 84.3%, 45.1%)
CIE-LABlab(54.87, -22.30, 54.34)
CIE-LCHlch(54.87, 58.74, 112.31°)
OKLaboklab(60.34% -0.0669 0.1179)
OKLCHoklch(60.34% 0.136 119.6)
XYZxyz(17.2690, 22.8073, 4.2514)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788C16 #2A168C
analogous
#8C6516 #788C16 #3D8C16
triadic
#788C16 #16788C #8C1678
tetradic
#788C16 #168C65 #2A168C #8C163D
square
#788C16 #168C65 #2A168C #8C163D
split-complementary
#788C16 #163D8C #65168C
monochromatic
#1D2205 #4B570E #788C16 #A5C11E #C5E03C

Accessibility & contrast

On white

3.78
#788C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#788C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788C16
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788C16#FFFFFF#000000##000000
##788C161.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#808477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #788c16;
/* rgb */ color: rgb(120, 140, 22);
/* oklch */ color: oklch(60.3% 0.136 119.6);
Tailwind
colors: {
  custom: {
    50: '#a3ad60',
    500: '#788c16',
    950: '#000000',
  },
}
SCSS
$custom: #788c16;
$custom-light: #a3ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#788c16",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 70.169,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.13557,
    "h": 119.6
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#788C16
secondary
#543EC0
accent
#38F057
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788C16

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

Preview Lab → · Contrast checker → · Palette generator →

#788C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva