#789928#789928

#789928 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.6% C 0.142 H 124.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#789928
RGBrgb(120, 153, 40)
HSLhsl(78, 59%, 38%)
HSVhsv(78, 74%, 60%)
CMYKcmyk(21.6%, 0%, 73.9%, 40%)
CIE-LABlab(58.91, -27.88, 52.31)
CIE-LCHlch(58.91, 59.27, 118.06°)
OKLaboklab(63.63% -0.0808 0.1167)
OKLCHoklch(63.63% 0.142 124.7)
XYZxyz(19.5201, 26.9285, 6.1764)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789928 #492899
analogous
#998128 #789928 #409928
triadic
#789928 #287899 #992878
tetradic
#789928 #289981 #492899 #992840
square
#789928 #289981 #492899 #992840
split-complementary
#789928 #284099 #812899
monochromatic
#2C380F #52681B #789928 #9ECA35 #B5D765

Accessibility & contrast

On white

3.29
#789928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#789928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789928
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789928#FFFFFF#000000##000000
##7899281.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#7E9183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789928;
/* rgb */ color: rgb(120, 153, 40);
/* oklch */ color: oklch(63.6% 0.142 124.7);
Tailwind
colors: {
  custom: {
    50: '#a2b76a',
    500: '#789928',
    950: '#000000',
  },
}
SCSS
$custom: #789928;
$custom-light: #a2b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#789928",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 77.522,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63628,
    "c": 0.14194,
    "h": 124.7
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#789928
secondary
#7B60BD
accent
#46E274
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789928

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

Preview Lab → · Contrast checker → · Palette generator →

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