#788424#788424

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

Color values

HEX#788424
RGBrgb(120, 132, 36)
HSLhsl(68, 57%, 33%)
HSVhsv(68, 73%, 52%)
CMYKcmyk(9.1%, 0%, 72.7%, 48.2%)
CIE-LABlab(52.53, -17.53, 47.56)
CIE-LCHlch(52.53, 50.69, 110.23°)
OKLaboklab(58.48% -0.0526 0.106)
OKLCHoklch(58.48% 0.118 116.4)
XYZxyz(16.3158, 20.6232, 4.7899)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788424 #302484
analogous
#846024 #788424 #488424
triadic
#788424 #247884 #842478
tetradic
#788424 #248460 #302484 #842448
square
#788424 #248460 #302484 #842448
split-complementary
#788424 #244884 #602484
monochromatic
#21240A #4C5417 #788424 #A4B431 #C0D052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788424#FFFFFF#000000##000000
##7884241.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)
#8D7D13
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#807C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788424;
/* rgb */ color: rgb(120, 132, 36);
/* oklch */ color: oklch(58.5% 0.118 116.4);
Tailwind
colors: {
  custom: {
    50: '#a2a766',
    500: '#788424',
    950: '#000000',
  },
}
SCSS
$custom: #788424;
$custom-light: #a2a766;
$custom-dark: #000000;
JSON
{
  "hex": "#788424",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 67.5,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.11837,
    "h": 116.4
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#788424
secondary
#5C50B4
accent
#47E05B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788424

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

Preview Lab → · Contrast checker → · Palette generator →

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