#788422#788422

#788422 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.120 H 116.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#788422
RGBrgb(120, 132, 34)
HSLhsl(67, 59%, 33%)
HSVhsv(67, 74%, 52%)
CMYKcmyk(9.1%, 0%, 74.2%, 48.2%)
CIE-LABlab(52.52, -17.64, 48.32)
CIE-LCHlch(52.52, 51.43, 110.06°)
OKLaboklab(58.47% -0.0531 0.1073)
OKLCHoklch(58.47% 0.12 116.4)
XYZxyz(16.2861, 20.6113, 4.6335)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788422 #2E2284
analogous
#845F22 #788422 #478422
triadic
#788422 #227884 #842278
tetradic
#788422 #22845F #2E2284 #842247
square
#788422 #22845F #2E2284 #842247
split-complementary
#788422 #224784 #5F2284
monochromatic
#202309 #4C5315 #788422 #A4B52F #C2D24F

Accessibility & contrast

On white

4.10
#788422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#788422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788422
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788422#FFFFFF#000000##000000
##7884221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788422;
/* rgb */ color: rgb(120, 132, 34);
/* oklch */ color: oklch(58.5% 0.120 116.4);
Tailwind
colors: {
  custom: {
    50: '#a2a765',
    500: '#788422',
    950: '#000000',
  },
}
SCSS
$custom: #788422;
$custom-light: #a2a765;
$custom-dark: #000000;
JSON
{
  "hex": "#788422",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 67.347,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.1197,
    "h": 116.4
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#788422
secondary
#5A4DB5
accent
#46E259
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788422

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

Preview Lab → · Contrast checker → · Palette generator →

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