#789A2E#789A2E

#789A2E is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.139 H 125.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#789A2E
RGBrgb(120, 154, 46)
HSLhsl(79, 54%, 39%)
HSVhsv(79, 70%, 60%)
CMYKcmyk(22.1%, 0%, 70.1%, 39.6%)
CIE-LABlab(59.25, -27.99, 50.35)
CIE-LCHlch(59.25, 57.61, 119.07°)
OKLaboklab(63.92% -0.0806 0.1135)
OKLCHoklch(63.92% 0.139 125.4)
XYZxyz(19.7946, 27.3013, 6.8111)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A2E #502E9A
analogous
#9A862E #789A2E #429A2E
triadic
#789A2E #2E789A #9A2E78
tetradic
#789A2E #2E9A86 #502E9A #9A2E42
square
#789A2E #2E9A86 #502E9A #9A2E42
split-complementary
#789A2E #2E429A #862E9A
monochromatic
#2F3C12 #536B20 #789A2E #9BC63F #B4D46F

Accessibility & contrast

On white

3.25
#789A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#789A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A2E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A2E#FFFFFF#000000##000000
##789A2E1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901D
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#7D9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789a2e;
/* rgb */ color: rgb(120, 154, 46);
/* oklch */ color: oklch(63.9% 0.139 125.4);
Tailwind
colors: {
  custom: {
    50: '#a2b86d',
    500: '#789a2e',
    950: '#000000',
  },
}
SCSS
$custom: #789a2e;
$custom-light: #a2b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#789a2e",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 78.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.13923,
    "h": 125.4
  },
  "luminance": 0.27302
}

Semantic roles & 50–950 ramp

primary
#789A2E
secondary
#8369BB
accent
#4ADD79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#789A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva