#789938#789938

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

Color values

HEX#789938
RGBrgb(120, 153, 56)
HSLhsl(80, 46%, 41%)
HSVhsv(80, 63%, 60%)
CMYKcmyk(21.6%, 0%, 63.4%, 40%)
CIE-LABlab(59.03, -26.75, 45.88)
CIE-LCHlch(59.03, 53.11, 120.25°)
OKLaboklab(63.77% -0.0762 0.1055)
OKLCHoklch(63.77% 0.13 125.8)
XYZxyz(19.8508, 27.0608, 7.9180)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789938 #593899
analogous
#998938 #789938 #489938
triadic
#789938 #387899 #993878
tetradic
#789938 #389989 #593899 #993848
square
#789938 #389989 #593899 #993848
split-complementary
#789938 #384899 #893899
monochromatic
#323F17 #556C28 #789938 #99BF4F #B3CF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789938#FFFFFF#000000##000000
##7899381.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)
#A18F2C
Deuteranopia (green-blind)
#9C8E3F
Tritanopia (blue-blind)
#7D9285
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789938;
/* rgb */ color: rgb(120, 153, 56);
/* oklch */ color: oklch(63.8% 0.130 125.8);
Tailwind
colors: {
  custom: {
    50: '#a2b773',
    500: '#789938',
    950: '#000000',
  },
}
SCSS
$custom: #789938;
$custom-light: #a2b773;
$custom-dark: #000000;
JSON
{
  "hex": "#789938",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 80.412,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63766,
    "c": 0.1302,
    "h": 125.8
  },
  "luminance": 0.27061
}

Semantic roles & 50–950 ramp

primary
#789938
secondary
#8C74B8
accent
#52D67F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789938

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

Preview Lab → · Contrast checker → · Palette generator →

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