#789738#789738

#789738 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.127 H 125.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#789738
RGBrgb(120, 151, 56)
HSLhsl(80, 46%, 41%)
HSVhsv(80, 63%, 59%)
CMYKcmyk(20.5%, 0%, 62.9%, 40.8%)
CIE-LABlab(58.43, -25.77, 45.22)
CIE-LCHlch(58.43, 52.05, 119.68°)
OKLaboklab(63.28% -0.0735 0.1041)
OKLCHoklch(63.28% 0.127 125.2)
XYZxyz(19.5262, 26.4116, 7.8098)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789738 #573897
analogous
#978638 #789738 #489738
triadic
#789738 #387897 #973878
tetradic
#789738 #389786 #573897 #973848
square
#789738 #389786 #573897 #973848
split-complementary
#789738 #384897 #863897
monochromatic
#313E17 #556A27 #789738 #99BE4F #B3CE7B

Accessibility & contrast

On white

3.34
#789738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#789738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789738
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789738#FFFFFF#000000##000000
##7897381.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#9B8C3F
Tritanopia (blue-blind)
#7D9083
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789738;
/* rgb */ color: rgb(120, 151, 56);
/* oklch */ color: oklch(63.3% 0.127 125.2);
Tailwind
colors: {
  custom: {
    50: '#a1b573',
    500: '#789738',
    950: '#000000',
  },
}
SCSS
$custom: #789738;
$custom-light: #a1b573;
$custom-dark: #000000;
JSON
{
  "hex": "#789738",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 79.579,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.12748,
    "h": 125.2
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#789738
secondary
#8A73B7
accent
#52D67D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789738

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

Preview Lab → · Contrast checker → · Palette generator →

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