#788922#788922

#788922 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.7% C 0.126 H 118.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#788922
RGBrgb(120, 137, 34)
HSLhsl(70, 60%, 34%)
HSVhsv(70, 75%, 54%)
CMYKcmyk(12.4%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.03, -20.24, 49.77)
CIE-LCHlch(54.03, 53.72, 112.13°)
OKLaboklab(59.68% -0.0603 0.1103)
OKLCHoklch(59.68% 0.126 118.7)
XYZxyz(16.9805, 22.0000, 4.8650)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788922 #332289
analogous
#896622 #788922 #448922
triadic
#788922 #227889 #892278
tetradic
#788922 #228966 #332289 #892244
square
#788922 #228966 #332289 #892244
split-complementary
#788922 #224489 #662289
monochromatic
#22270A #4D5816 #788922 #A3BA2E #BED451

Accessibility & contrast

On white

3.89
#788922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#788922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788922
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788922#FFFFFF#000000##000000
##7889221.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#90822B
Tritanopia (blue-blind)
#7F8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788922;
/* rgb */ color: rgb(120, 137, 34);
/* oklch */ color: oklch(59.7% 0.126 118.7);
Tailwind
colors: {
  custom: {
    50: '#a2ab65',
    500: '#788922',
    950: '#000000',
  },
}
SCSS
$custom: #788922;
$custom-light: #a2ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#788922",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 69.903,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.12573,
    "h": 118.7
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#788922
secondary
#604FB8
accent
#44E35F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788922

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

Preview Lab → · Contrast checker → · Palette generator →

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