#789937#789937

#789937 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.131 H 125.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#789937
RGBrgb(120, 153, 55)
HSLhsl(80, 47%, 41%)
HSVhsv(80, 64%, 60%)
CMYKcmyk(21.6%, 0%, 64.1%, 40%)
CIE-LABlab(59.02, -26.84, 46.32)
CIE-LCHlch(59.02, 53.53, 120.09°)
OKLaboklab(63.76% -0.0766 0.1063)
OKLCHoklch(63.76% 0.131 125.8)
XYZxyz(19.8266, 27.0511, 7.7905)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789937 #583799
analogous
#998937 #789937 #479937
triadic
#789937 #377899 #993778
tetradic
#789937 #379989 #583799 #993747
square
#789937 #379989 #583799 #993747
split-complementary
#789937 #374799 #893799
monochromatic
#313F17 #556C27 #789937 #99BF4E #B3D07B

Accessibility & contrast

On white

3.28
#789937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#789937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789937
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789937#FFFFFF#000000##000000
##7899371.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2B
Deuteranopia (green-blind)
#9C8E3E
Tritanopia (blue-blind)
#7D9285
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789937;
/* rgb */ color: rgb(120, 153, 55);
/* oklch */ color: oklch(63.8% 0.131 125.8);
Tailwind
colors: {
  custom: {
    50: '#a2b772',
    500: '#789937',
    950: '#000000',
  },
}
SCSS
$custom: #789937;
$custom-light: #a2b772;
$custom-dark: #000000;
JSON
{
  "hex": "#789937",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 80.204,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63756,
    "c": 0.13103,
    "h": 125.8
  },
  "luminance": 0.27051
}

Semantic roles & 50–950 ramp

primary
#789937
secondary
#8B73B9
accent
#51D77E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789937

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

Preview Lab → · Contrast checker → · Palette generator →

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