#789E27#789E27

#789E27 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.149 H 126.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#789E27
RGBrgb(120, 158, 39)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(24.1%, 0%, 75.3%, 38%)
CIE-LABlab(60.42, -30.33, 54.13)
CIE-LCHlch(60.42, 62.05, 119.26°)
OKLaboklab(64.85% -0.0876 0.1204)
OKLCHoklch(64.85% 0.149 126.1)
XYZxyz(20.3389, 28.5930, 6.3665)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E27 #4D279E
analogous
#9E8827 #789E27 #3C9E27
triadic
#789E27 #27789E #9E2778
tetradic
#789E27 #279E88 #4D279E #9E273C
square
#789E27 #279E88 #4D279E #9E273C
split-complementary
#789E27 #273C9E #88279E
monochromatic
#2D3C0F #536D1B #789E27 #9DCD35 #B4D966

Accessibility & contrast

On white

3.13
#789E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#789E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E27
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E27#FFFFFF#000000##000000
##789E271.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930D
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#7D9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e27;
/* rgb */ color: rgb(120, 158, 39);
/* oklch */ color: oklch(64.9% 0.149 126.1);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#789e27',
    950: '#000000',
  },
}
SCSS
$custom: #789e27;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#789e27",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 79.16,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.14886,
    "h": 126.1
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

primary
#789E27
secondary
#8062BF
accent
#44E477
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E27

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

Preview Lab → · Contrast checker → · Palette generator →

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