#788B19#788B19

#788B19 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.133 H 119.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#788B19
RGBrgb(120, 139, 25)
HSLhsl(70, 70%, 32%)
HSVhsv(70, 82%, 55%)
CMYKcmyk(13.7%, 0%, 82%, 45.5%)
CIE-LABlab(54.58, -21.68, 53.25)
CIE-LCHlch(54.58, 57.49, 112.15°)
OKLaboklab(60.11% -0.065 0.1161)
OKLCHoklch(60.11% 0.133 119.3)
XYZxyz(17.1542, 22.5286, 4.3643)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788B19 #2C198B
analogous
#8B6519 #788B19 #3F8B19
triadic
#788B19 #19788B #8B1978
tetradic
#788B19 #198B65 #2C198B #8B193F
square
#788B19 #198B65 #2C198B #8B193F
split-complementary
#788B19 #193F8B #65198B
monochromatic
#1E2306 #4B5710 #788B19 #A5BF22 #C3DD41

Accessibility & contrast

On white

3.81
#788B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#788B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788B19
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788B19#FFFFFF#000000##000000
##788B191.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#808376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #788b19;
/* rgb */ color: rgb(120, 139, 25);
/* oklch */ color: oklch(60.1% 0.133 119.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac61',
    500: '#788b19',
    950: '#000000',
  },
}
SCSS
$custom: #788b19;
$custom-light: #a2ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#788b19",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 70,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.13305,
    "h": 119.3
  },
  "luminance": 0.22528
}

Semantic roles & 50–950 ramp

primary
#788B19
secondary
#5742BE
accent
#3BEC59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788B19

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

Preview Lab → · Contrast checker → · Palette generator →

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