#788820#788820

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

Color values

HEX#788820
RGBrgb(120, 136, 32)
HSLhsl(69, 62%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11.8%, 0%, 76.5%, 46.7%)
CIE-LABlab(53.71, -19.82, 50.19)
CIE-LCHlch(53.71, 53.96, 111.55°)
OKLaboklab(59.42% -0.0594 0.1108)
OKLCHoklch(59.42% 0.126 118.2)
XYZxyz(16.8110, 21.7058, 4.6703)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788820 #302088
analogous
#886420 #788820 #448820
triadic
#788820 #207888 #882078
tetradic
#788820 #208864 #302088 #882044
square
#788820 #208864 #302088 #882044
split-complementary
#788820 #204488 #642088
monochromatic
#212509 #4C5614 #788820 #A4BA2C #C0D54D

Accessibility & contrast

On white

3.93
#788820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#788820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788820
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788820#FFFFFF#000000##000000
##7888201.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788820;
/* rgb */ color: rgb(120, 136, 32);
/* oklch */ color: oklch(59.4% 0.126 118.2);
Tailwind
colors: {
  custom: {
    50: '#a2aa64',
    500: '#788820',
    950: '#000000',
  },
}
SCSS
$custom: #788820;
$custom-light: #a2aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#788820",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 69.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.12574,
    "h": 118.2
  },
  "luminance": 0.21706
}

Semantic roles & 50–950 ramp

primary
#788820
secondary
#5C4CB8
accent
#43E55C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788820

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

Preview Lab → · Contrast checker → · Palette generator →

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