#789728#789728

#789728 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.1% C 0.139 H 124.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#789728
RGBrgb(120, 151, 40)
HSLhsl(77, 58%, 37%)
HSVhsv(77, 74%, 59%)
CMYKcmyk(20.5%, 0%, 73.5%, 40.8%)
CIE-LABlab(58.30, -26.91, 51.71)
CIE-LCHlch(58.30, 58.29, 117.49°)
OKLaboklab(63.14% -0.0782 0.1154)
OKLCHoklch(63.14% 0.139 124.1)
XYZxyz(19.1955, 26.2793, 6.0682)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789728 #472897
analogous
#977F28 #789728 #409728
triadic
#789728 #287897 #972878
tetradic
#789728 #28977F #472897 #972840
square
#789728 #28977F #472897 #972840
split-complementary
#789728 #284097 #7F2897
monochromatic
#2B360E #52671B #789728 #9EC735 #B6D664

Accessibility & contrast

On white

3.36
#789728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#789728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789728
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789728#FFFFFF#000000##000000
##7897281.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789728;
/* rgb */ color: rgb(120, 151, 40);
/* oklch */ color: oklch(63.1% 0.139 124.1);
Tailwind
colors: {
  custom: {
    50: '#a2b56a',
    500: '#789728',
    950: '#000000',
  },
}
SCSS
$custom: #789728;
$custom-light: #a2b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#789728",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 76.757,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.1394,
    "h": 124.1
  },
  "luminance": 0.26279
}

Semantic roles & 50–950 ramp

primary
#789728
secondary
#795FBC
accent
#46E172
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789728

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

Preview Lab → · Contrast checker → · Palette generator →

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