#789931#789931

#789931 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.7% C 0.136 H 125.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#789931
RGBrgb(120, 153, 49)
HSLhsl(79, 51%, 40%)
HSVhsv(79, 68%, 60%)
CMYKcmyk(21.6%, 0%, 68%, 40%)
CIE-LABlab(58.97, -27.30, 48.84)
CIE-LCHlch(58.97, 55.95, 119.20°)
OKLaboklab(63.7% -0.0784 0.1108)
OKLCHoklch(63.7% 0.136 125.3)
XYZxyz(19.6914, 26.9971, 7.0787)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789931 #523199
analogous
#998631 #789931 #449931
triadic
#789931 #317899 #993178
tetradic
#789931 #319986 #523199 #993144
square
#789931 #319986 #523199 #993144
split-complementary
#789931 #314499 #863199
monochromatic
#2F3C13 #546B22 #789931 #9BC344 #B4D272

Accessibility & contrast

On white

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

On black

6.40
#789931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789931
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789931#FFFFFF#000000##000000
##7899311.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F22
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#7D9284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789931;
/* rgb */ color: rgb(120, 153, 49);
/* oklch */ color: oklch(63.7% 0.136 125.3);
Tailwind
colors: {
  custom: {
    50: '#a2b76f',
    500: '#789931',
    950: '#000000',
  },
}
SCSS
$custom: #789931;
$custom-light: #a2b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#789931",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 79.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.637,
    "c": 0.13574,
    "h": 125.3
  },
  "luminance": 0.26997
}

Semantic roles & 50–950 ramp

primary
#789931
secondary
#856CBA
accent
#4DDB7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #789931

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

Preview Lab → · Contrast checker → · Palette generator →

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