#788F16#788F16

#788F16 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.139 H 120.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#788F16
RGBrgb(120, 143, 22)
HSLhsl(71, 73%, 32%)
HSVhsv(71, 85%, 56%)
CMYKcmyk(16.1%, 0%, 84.6%, 43.9%)
CIE-LABlab(55.78, -23.81, 55.13)
CIE-LCHlch(55.78, 60.05, 113.35°)
OKLaboklab(61.07% -0.0711 0.1196)
OKLCHoklch(61.07% 0.139 120.7)
XYZxyz(17.7134, 23.6960, 4.3995)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788F16 #2D168F
analogous
#8F6A16 #788F16 #3C8F16
triadic
#788F16 #16788F #8F1678
tetradic
#788F16 #168F6A #2D168F #8F163C
square
#788F16 #168F6A #2D168F #8F163C
split-complementary
#788F16 #163C8F #6A168F
monochromatic
#1F2506 #4B5A0E #788F16 #A5C41E #C2E13E

Accessibility & contrast

On white

3.66
#788F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#788F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788F16
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788F16#FFFFFF#000000##000000
##788F161.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#7F877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788f16;
/* rgb */ color: rgb(120, 143, 22);
/* oklch */ color: oklch(61.1% 0.139 120.7);
Tailwind
colors: {
  custom: {
    50: '#a3af61',
    500: '#788f16',
    950: '#000000',
  },
}
SCSS
$custom: #788f16;
$custom-light: #a3af61;
$custom-dark: #000000;
JSON
{
  "hex": "#788f16",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 71.405,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.1391,
    "h": 120.7
  },
  "luminance": 0.23696
}

Semantic roles & 50–950 ramp

primary
#788F16
secondary
#583FC1
accent
#38F05B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788F16

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

Preview Lab → · Contrast checker → · Palette generator →

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