#788324#788324

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

Color values

HEX#788324
RGBrgb(120, 131, 36)
HSLhsl(67, 57%, 33%)
HSVhsv(67, 73%, 51%)
CMYKcmyk(8.4%, 0%, 72.5%, 48.6%)
CIE-LABlab(52.23, -17.00, 47.26)
CIE-LCHlch(52.23, 50.23, 109.78°)
OKLaboklab(58.24% -0.0512 0.1054)
OKLCHoklch(58.24% 0.117 115.9)
XYZxyz(16.1809, 20.3533, 4.7449)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788324 #2F2483
analogous
#835E24 #788324 #498324
triadic
#788324 #247883 #832478
tetradic
#788324 #24835E #2F2483 #832449
square
#788324 #24835E #2F2483 #832449
split-complementary
#788324 #244983 #5E2483
monochromatic
#20230A #4C5317 #788324 #A4B331 #C1CF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788324#FFFFFF#000000##000000
##7883241.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)
#8C7C14
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788324;
/* rgb */ color: rgb(120, 131, 36);
/* oklch */ color: oklch(58.2% 0.117 115.9);
Tailwind
colors: {
  custom: {
    50: '#a2a665',
    500: '#788324',
    950: '#000000',
  },
}
SCSS
$custom: #788324;
$custom-light: #a2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#788324",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 66.947,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.11716,
    "h": 115.9
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#788324
secondary
#5B4FB3
accent
#48E059
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788324

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

Preview Lab → · Contrast checker → · Palette generator →

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