#789A37#789A37

#789A37 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#789A37
RGBrgb(120, 154, 55)
HSLhsl(81, 47%, 41%)
HSVhsv(81, 64%, 60%)
CMYKcmyk(22.1%, 0%, 64.3%, 39.6%)
CIE-LABlab(59.32, -27.32, 46.65)
CIE-LCHlch(59.32, 54.06, 120.36°)
OKLaboklab(64% -0.0779 0.107)
OKLCHoklch(64% 0.132 126.1)
XYZxyz(19.9910, 27.3798, 7.8453)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A37 #59379A
analogous
#9A8A37 #789A37 #469A37
triadic
#789A37 #37789A #9A3778
tetradic
#789A37 #379A8A #59379A #9A3746
square
#789A37 #379A8A #59379A #9A3746
split-complementary
#789A37 #37469A #8A379A
monochromatic
#324017 #556D27 #789A37 #99C04E #B3D07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789A37#FFFFFF#000000##000000
##789A371.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)
#A2902B
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#7D9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a37;
/* rgb */ color: rgb(120, 154, 55);
/* oklch */ color: oklch(64.0% 0.132 126.1);
Tailwind
colors: {
  custom: {
    50: '#a2b872',
    500: '#789a37',
    950: '#000000',
  },
}
SCSS
$custom: #789a37;
$custom-light: #a2b872;
$custom-dark: #000000;
JSON
{
  "hex": "#789a37",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 55
  },
  "hsl": {
    "h": 80.606,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.13238,
    "h": 126.1
  },
  "luminance": 0.2738
}

Semantic roles & 50–950 ramp

primary
#789A37
secondary
#8C74B9
accent
#51D77F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789A37

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

Preview Lab → · Contrast checker → · Palette generator →

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