#788432#788432

#788432 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.107 H 116.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#788432
RGBrgb(120, 132, 50)
HSLhsl(69, 45%, 36%)
HSVhsv(69, 62%, 52%)
CMYKcmyk(9.1%, 0%, 62.1%, 48.2%)
CIE-LABlab(52.65, -16.56, 41.65)
CIE-LCHlch(52.65, 44.82, 111.69°)
OKLaboklab(58.61% -0.0485 0.0958)
OKLCHoklch(58.61% 0.107 116.8)
XYZxyz(16.5730, 20.7261, 6.1445)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788432 #3E3284
analogous
#846732 #788432 #4F8432
triadic
#788432 #327884 #843278
tetradic
#788432 #328467 #3E3284 #84324F
square
#788432 #328467 #3E3284 #84324F
split-complementary
#788432 #324F84 #673284
monochromatic
#272B10 #505821 #788432 #A0B043 #B9C76A

Accessibility & contrast

On white

4.08
#788432 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#788432 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788432
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788432#FFFFFF#000000##000000
##7884321.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D29
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#7F7D73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #788432;
/* rgb */ color: rgb(120, 132, 50);
/* oklch */ color: oklch(58.6% 0.107 116.8);
Tailwind
colors: {
  custom: {
    50: '#a1a76e',
    500: '#788432',
    950: '#000000',
  },
}
SCSS
$custom: #788432;
$custom-light: #a1a76e;
$custom-dark: #000000;
JSON
{
  "hex": "#788432",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 50
  },
  "hsl": {
    "h": 68.78,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58608,
    "c": 0.10733,
    "h": 116.8
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#788432
secondary
#6F64AE
accent
#53D566
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #788432

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

Preview Lab → · Contrast checker → · Palette generator →

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