#788D16#788D16

#788D16 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.137 H 120.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#788D16
RGBrgb(120, 141, 22)
HSLhsl(71, 73%, 32%)
HSVhsv(71, 84%, 55%)
CMYKcmyk(14.9%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.18, -22.80, 54.61)
CIE-LCHlch(55.18, 59.18, 112.66°)
OKLaboklab(60.58% -0.0683 0.1185)
OKLCHoklch(60.58% 0.137 120)
XYZxyz(17.4158, 23.1008, 4.3003)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D16 #2B168D
analogous
#8D6716 #788D16 #3D8D16
triadic
#788D16 #16788D #8D1678
tetradic
#788D16 #168D67 #2B168D #8D163D
square
#788D16 #168D67 #2B168D #8D163D
split-complementary
#788D16 #163D8D #67168D
monochromatic
#1E2305 #4B580E #788D16 #A5C21E #C4E13D

Accessibility & contrast

On white

3.74
#788D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#788D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D16
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D16#FFFFFF#000000##000000
##788D161.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#7F8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d16;
/* rgb */ color: rgb(120, 141, 22);
/* oklch */ color: oklch(60.6% 0.137 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3ae61',
    500: '#788d16',
    950: '#000000',
  },
}
SCSS
$custom: #788d16;
$custom-light: #a3ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#788d16",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 70.588,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.13675,
    "h": 120
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#788D16
secondary
#553EC1
accent
#38F059
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788D16

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

Preview Lab → · Contrast checker → · Palette generator →

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