#789130#789130

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

Color values

HEX#789130
RGBrgb(120, 145, 48)
HSLhsl(75, 50%, 38%)
HSVhsv(75, 67%, 57%)
CMYKcmyk(17.2%, 0%, 66.9%, 43.1%)
CIE-LABlab(56.54, -23.42, 46.72)
CIE-LCHlch(56.54, 52.26, 116.62°)
OKLaboklab(61.73% -0.0678 0.1062)
OKLCHoklch(61.73% 0.126 122.5)
XYZxyz(18.4048, 24.4572, 6.5468)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789130 #493091
analogous
#917930 #789130 #479130
triadic
#789130 #307891 #913078
tetradic
#789130 #309179 #493091 #913047
square
#789130 #309179 #493091 #913047
split-complementary
#789130 #304791 #793091
monochromatic
#2C3512 #526321 #789130 #9EBF3F #B5CF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789130#FFFFFF#000000##000000
##7891301.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)
#998823
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#7E8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789130;
/* rgb */ color: rgb(120, 145, 48);
/* oklch */ color: oklch(61.7% 0.126 122.5);
Tailwind
colors: {
  custom: {
    50: '#a2b16e',
    500: '#789130',
    950: '#000000',
  },
}
SCSS
$custom: #789130;
$custom-light: #a2b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#789130",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 75.464,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.12599,
    "h": 122.5
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#789130
secondary
#7B67B6
accent
#4EDA72
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789130

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

Preview Lab → · Contrast checker → · Palette generator →

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