#789028#789028

#789028 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.131 H 121.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#789028
RGBrgb(120, 144, 40)
HSLhsl(74, 57%, 36%)
HSVhsv(74, 72%, 56%)
CMYKcmyk(16.7%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.18, -23.45, 49.62)
CIE-LCHlch(56.18, 54.88, 115.30°)
OKLaboklab(61.42% -0.0686 0.111)
OKLCHoklch(61.42% 0.131 121.7)
XYZxyz(18.1023, 24.0928, 5.7038)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789028 #402890
analogous
#907428 #789028 #449028
triadic
#789028 #287890 #902878
tetradic
#789028 #289074 #402890 #902844
square
#789028 #289074 #402890 #902844
split-complementary
#789028 #284490 #742890
monochromatic
#28300D #50601B #789028 #A0C035 #B8D360

Accessibility & contrast

On white

3.61
#789028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#789028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789028
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789028#FFFFFF#000000##000000
##7890281.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998716
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#7F887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #789028;
/* rgb */ color: rgb(120, 144, 40);
/* oklch */ color: oklch(61.4% 0.131 121.7);
Tailwind
colors: {
  custom: {
    50: '#a2b069',
    500: '#789028',
    950: '#000000',
  },
}
SCSS
$custom: #789028;
$custom-light: #a2b069;
$custom-dark: #000000;
JSON
{
  "hex": "#789028",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 73.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.13053,
    "h": 121.7
  },
  "luminance": 0.24093
}

Semantic roles & 50–950 ramp

primary
#789028
secondary
#715CB8
accent
#48E06B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789028

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

Preview Lab → · Contrast checker → · Palette generator →

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