#789A1E#789A1E

#789A1E is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.8% C 0.149 H 124.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#789A1E
RGBrgb(120, 154, 30)
HSLhsl(76, 67%, 36%)
HSVhsv(76, 81%, 60%)
CMYKcmyk(22.1%, 0%, 80.5%, 39.6%)
CIE-LABlab(59.16, -28.88, 55.88)
CIE-LCHlch(59.16, 62.90, 117.33°)
OKLaboklab(63.81% -0.0843 0.1225)
OKLCHoklch(63.81% 0.149 124.5)
XYZxyz(19.5359, 27.1978, 5.4485)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A1E #401E9A
analogous
#9A7E1E #789A1E #3A9A1E
triadic
#789A1E #1E789A #9A1E78
tetradic
#789A1E #1E9A7E #401E9A #9A1E3A
square
#789A1E #1E9A7E #401E9A #9A1E3A
split-complementary
#789A1E #1E3A9A #7E1E9A
monochromatic
#28340A #506714 #789A1E #A0CD28 #B8DE55

Accessibility & contrast

On white

3.26
#789A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#789A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A1E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A1E#FFFFFF#000000##000000
##789A1E1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#7E9283
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a1e;
/* rgb */ color: rgb(120, 154, 30);
/* oklch */ color: oklch(63.8% 0.149 124.5);
Tailwind
colors: {
  custom: {
    50: '#a3b866',
    500: '#789a1e',
    950: '#000000',
  },
}
SCSS
$custom: #789a1e;
$custom-light: #a3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#789a1e",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 76.452,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.14875,
    "h": 124.5
  },
  "luminance": 0.27198
}

Semantic roles & 50–950 ramp

primary
#789A1E
secondary
#7153C1
accent
#3EEA6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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