#788A19#788A19

#788A19 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.132 H 118.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#788A19
RGBrgb(120, 138, 25)
HSLhsl(70, 69%, 32%)
HSVhsv(70, 82%, 54%)
CMYKcmyk(13%, 0%, 81.9%, 45.9%)
CIE-LABlab(54.28, -21.17, 52.98)
CIE-LCHlch(54.28, 57.05, 111.78°)
OKLaboklab(59.87% -0.0636 0.1155)
OKLCHoklch(59.87% 0.132 118.9)
XYZxyz(17.0101, 22.2403, 4.3162)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788A19 #2B198A
analogous
#8A6419 #788A19 #3F8A19
triadic
#788A19 #19788A #8A1978
tetradic
#788A19 #198A64 #2B198A #8A193F
square
#788A19 #198A64 #2B198A #8A193F
split-complementary
#788A19 #193F8A #64198A
monochromatic
#1E2206 #4B5610 #788A19 #A5BE22 #C4DD41

Accessibility & contrast

On white

3.85
#788A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#788A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788A19
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788A19#FFFFFF#000000##000000
##788A191.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#808276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #788a19;
/* rgb */ color: rgb(120, 138, 25);
/* oklch */ color: oklch(59.9% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a2ac61',
    500: '#788a19',
    950: '#000000',
  },
}
SCSS
$custom: #788a19;
$custom-light: #a2ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#788a19",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 69.558,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.13187,
    "h": 118.9
  },
  "luminance": 0.2224
}

Semantic roles & 50–950 ramp

primary
#788A19
secondary
#5542BD
accent
#3CEC58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788A19

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

Preview Lab → · Contrast checker → · Palette generator →

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