#788320#788320

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

Color values

HEX#788320
RGBrgb(120, 131, 32)
HSLhsl(67, 61%, 32%)
HSVhsv(67, 76%, 51%)
CMYKcmyk(8.4%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.21, -17.22, 48.76)
CIE-LCHlch(52.21, 51.71, 109.45°)
OKLaboklab(58.21% -0.0522 0.1078)
OKLCHoklch(58.21% 0.12 115.8)
XYZxyz(16.1232, 20.3302, 4.4410)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788320 #2B2083
analogous
#835D20 #788320 #468320
triadic
#788320 #207883 #832078
tetradic
#788320 #20835D #2B2083 #832046
square
#788320 #20835D #2B2083 #832046
split-complementary
#788320 #204683 #5D2083
monochromatic
#1E2108 #4B5214 #788320 #A5B42C #C4D34A

Accessibility & contrast

On white

4.15
#788320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##788320#FFFFFF#000000##000000
##7883201.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788320;
/* rgb */ color: rgb(120, 131, 32);
/* oklch */ color: oklch(58.2% 0.120 115.8);
Tailwind
colors: {
  custom: {
    50: '#a2a663',
    500: '#788320',
    950: '#000000',
  },
}
SCSS
$custom: #788320;
$custom-light: #a2a663;
$custom-dark: #000000;
JSON
{
  "hex": "#788320",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 66.667,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.11978,
    "h": 115.8
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#788320
secondary
#5549B6
accent
#44E456
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788320

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

Preview Lab → · Contrast checker → · Palette generator →

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