#789A38#789A38

#789A38 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.132 H 126.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#789A38
RGBrgb(120, 154, 56)
HSLhsl(81, 47%, 41%)
HSVhsv(81, 64%, 60%)
CMYKcmyk(22.1%, 0%, 63.6%, 39.6%)
CIE-LABlab(59.33, -27.24, 46.21)
CIE-LCHlch(59.33, 53.64, 120.52°)
OKLaboklab(64.01% -0.0776 0.1062)
OKLCHoklch(64.01% 0.132 126.1)
XYZxyz(20.0152, 27.3895, 7.9728)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A38 #5A389A
analogous
#9A8B38 #789A38 #479A38
triadic
#789A38 #38789A #9A3878
tetradic
#789A38 #389A8B #5A389A #9A3847
square
#789A38 #389A8B #5A389A #9A3847
split-complementary
#789A38 #38479A #8B389A
monochromatic
#324017 #556D28 #789A38 #99BF50 #B3D07D

Accessibility & contrast

On white

3.24
#789A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#789A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A38
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A38#FFFFFF#000000##000000
##789A381.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902C
Deuteranopia (green-blind)
#9D8E3F
Tritanopia (blue-blind)
#7D9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a38;
/* rgb */ color: rgb(120, 154, 56);
/* oklch */ color: oklch(64.0% 0.132 126.1);
Tailwind
colors: {
  custom: {
    50: '#a2b873',
    500: '#789a38',
    950: '#000000',
  },
}
SCSS
$custom: #789a38;
$custom-light: #a2b873;
$custom-dark: #000000;
JSON
{
  "hex": "#789a38",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 80.816,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64011,
    "c": 0.13156,
    "h": 126.1
  },
  "luminance": 0.2739
}

Semantic roles & 50–950 ramp

primary
#789A38
secondary
#8C75B9
accent
#51D680
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789A38

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

Preview Lab → · Contrast checker → · Palette generator →

#789A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva