#789131#789131

#789131 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.7% C 0.125 H 122.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#789131
RGBrgb(120, 145, 49)
HSLhsl(76, 49%, 38%)
HSVhsv(76, 66%, 57%)
CMYKcmyk(17.2%, 0%, 66.2%, 43.1%)
CIE-LABlab(56.55, -23.34, 46.30)
CIE-LCHlch(56.55, 51.85, 116.75°)
OKLaboklab(61.74% -0.0675 0.1055)
OKLCHoklch(61.74% 0.125 122.6)
XYZxyz(18.4257, 24.4656, 6.6567)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789131 #4A3191
analogous
#917A31 #789131 #489131
triadic
#789131 #317891 #913178
tetradic
#789131 #31917A #4A3191 #913148
square
#789131 #31917A #4A3191 #913148
split-complementary
#789131 #314891 #7A3191
monochromatic
#2C3612 #526322 #789131 #9EBF41 #B5CE6E

Accessibility & contrast

On white

3.56
#789131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#789131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789131
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789131#FFFFFF#000000##000000
##7891311.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#7E8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789131;
/* rgb */ color: rgb(120, 145, 49);
/* oklch */ color: oklch(61.7% 0.125 122.6);
Tailwind
colors: {
  custom: {
    50: '#a1b16e',
    500: '#789131',
    950: '#000000',
  },
}
SCSS
$custom: #789131;
$custom-light: #a1b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#789131",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 75.625,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.1252,
    "h": 122.6
  },
  "luminance": 0.24466
}

Semantic roles & 50–950 ramp

primary
#789131
secondary
#7C68B6
accent
#4FD973
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789131

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

Preview Lab → · Contrast checker → · Palette generator →

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