#788819#788819

#788819 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.4% C 0.130 H 118.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#788819
RGBrgb(120, 136, 25)
HSLhsl(69, 69%, 32%)
HSVhsv(69, 82%, 53%)
CMYKcmyk(11.8%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.68, -20.14, 52.44)
CIE-LCHlch(53.68, 56.18, 111.01°)
OKLaboklab(59.38% -0.0608 0.1144)
OKLCHoklch(59.38% 0.13 118)
XYZxyz(16.7258, 21.6717, 4.2215)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788819 #291988
analogous
#886119 #788819 #418819
triadic
#788819 #197888 #881978
tetradic
#788819 #198861 #291988 #881941
square
#788819 #198861 #291988 #881941
split-complementary
#788819 #194188 #611988
monochromatic
#1D2106 #4A540F #788819 #A6BC23 #C5DC40

Accessibility & contrast

On white

3.94
#788819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#788819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788819
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788819#FFFFFF#000000##000000
##7888191.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #788819;
/* rgb */ color: rgb(120, 136, 25);
/* oklch */ color: oklch(59.4% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2aa61',
    500: '#788819',
    950: '#000000',
  },
}
SCSS
$custom: #788819;
$custom-light: #a2aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#788819",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 68.649,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.12952,
    "h": 118
  },
  "luminance": 0.21672
}

Semantic roles & 50–950 ramp

primary
#788819
secondary
#5341BB
accent
#3CEC55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788819

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

Preview Lab → · Contrast checker → · Palette generator →

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