#788815#788815

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

Color values

HEX#788815
RGBrgb(120, 136, 21)
HSLhsl(68, 73%, 31%)
HSVhsv(68, 85%, 53%)
CMYKcmyk(11.8%, 0%, 84.6%, 46.7%)
CIE-LABlab(53.66, -20.29, 53.56)
CIE-LCHlch(53.66, 57.28, 110.75°)
OKLaboklab(59.36% -0.0615 0.116)
OKLCHoklch(59.36% 0.131 117.9)
XYZxyz(16.6857, 21.6557, 4.0103)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788815 #251588
analogous
#885E15 #788815 #3E8815
triadic
#788815 #157888 #881578
tetradic
#788815 #15885E #251588 #88153E
square
#788815 #15885E #251588 #88153E
split-complementary
#788815 #153E88 #5E1588
monochromatic
#1A1E05 #49530D #788815 #A7BD1D #C9E037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788815#FFFFFF#000000##000000
##7888151.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)
#908122
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #788815;
/* rgb */ color: rgb(120, 136, 21);
/* oklch */ color: oklch(59.4% 0.131 117.9);
Tailwind
colors: {
  custom: {
    50: '#a2aa5f',
    500: '#788815',
    950: '#000000',
  },
}
SCSS
$custom: #788815;
$custom-light: #a2aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#788815",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 68.348,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.13133,
    "h": 117.9
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#788815
secondary
#4E3DBC
accent
#38F051
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #788815

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

Preview Lab → · Contrast checker → · Palette generator →

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