#788322#788322

#788322 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.119 H 115.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#788322
RGBrgb(120, 131, 34)
HSLhsl(67, 59%, 32%)
HSVhsv(67, 74%, 51%)
CMYKcmyk(8.4%, 0%, 74%, 48.6%)
CIE-LABlab(52.22, -17.11, 48.02)
CIE-LCHlch(52.22, 50.98, 109.61°)
OKLaboklab(58.23% -0.0517 0.1067)
OKLCHoklch(58.23% 0.119 115.9)
XYZxyz(16.1512, 20.3414, 4.5885)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788322 #2D2283
analogous
#835D22 #788322 #488322
triadic
#788322 #227883 #832278
tetradic
#788322 #22835D #2D2283 #832248
square
#788322 #22835D #2D2283 #832248
split-complementary
#788322 #224883 #5D2283
monochromatic
#1F2209 #4B5215 #788322 #A5B42F #C2D14E

Accessibility & contrast

On white

4.14
#788322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#788322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788322
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788322#FFFFFF#000000##000000
##7883221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788322;
/* rgb */ color: rgb(120, 131, 34);
/* oklch */ color: oklch(58.2% 0.119 115.9);
Tailwind
colors: {
  custom: {
    50: '#a2a664',
    500: '#788322',
    950: '#000000',
  },
}
SCSS
$custom: #788322;
$custom-light: #a2a664;
$custom-dark: #000000;
JSON
{
  "hex": "#788322",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 66.804,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.11851,
    "h": 115.9
  },
  "luminance": 0.20341
}

Semantic roles & 50–950 ramp

primary
#788322
secondary
#584CB4
accent
#46E258
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788322

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

Preview Lab → · Contrast checker → · Palette generator →

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