#788024#788024

#788024 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.114 H 114.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#788024
RGBrgb(120, 128, 36)
HSLhsl(65, 56%, 32%)
HSVhsv(65, 72%, 50%)
CMYKcmyk(6.3%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.34, -15.41, 46.38)
CIE-LCHlch(51.34, 48.87, 108.38°)
OKLaboklab(57.52% -0.0467 0.1035)
OKLCHoklch(57.52% 0.114 114.3)
XYZxyz(15.7838, 19.5591, 4.6125)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788024 #2C2480
analogous
#805A24 #788024 #4A8024
triadic
#788024 #247880 #802478
tetradic
#788024 #24805A #2C2480 #80244A
square
#788024 #24805A #2C2480 #80244A
split-complementary
#788024 #244A80 #5A2480
monochromatic
#1E2009 #4B5017 #788024 #A5B031 #C3CE50

Accessibility & contrast

On white

4.28
#788024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#788024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788024
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788024#FFFFFF#000000##000000
##7880241.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#80786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #788024;
/* rgb */ color: rgb(120, 128, 36);
/* oklch */ color: oklch(57.5% 0.114 114.3);
Tailwind
colors: {
  custom: {
    50: '#a2a465',
    500: '#788024',
    950: '#000000',
  },
}
SCSS
$custom: #788024;
$custom-light: #a2a465;
$custom-dark: #000000;
JSON
{
  "hex": "#788024",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 65.217,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.11359,
    "h": 114.3
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#788024
secondary
#574EB2
accent
#48DF56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788024

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

Preview Lab → · Contrast checker → · Palette generator →

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