#789A1F#789A1F

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

Color values

HEX#789A1F
RGBrgb(120, 154, 31)
HSLhsl(77, 66%, 36%)
HSVhsv(77, 80%, 60%)
CMYKcmyk(22.1%, 0%, 79.9%, 39.6%)
CIE-LABlab(59.16, -28.83, 55.58)
CIE-LCHlch(59.16, 62.61, 117.42°)
OKLaboklab(63.82% -0.0841 0.1221)
OKLCHoklch(63.82% 0.148 124.6)
XYZxyz(19.5489, 27.2030, 5.5169)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A1F #411F9A
analogous
#9A7F1F #789A1F #3B9A1F
triadic
#789A1F #1F789A #9A1F78
tetradic
#789A1F #1F9A7F #411F9A #9A1F3B
square
#789A1F #1F9A7F #411F9A #9A1F3B
split-complementary
#789A1F #1F3B9A #7F1F9A
monochromatic
#29340A #506715 #789A1F #A0CD29 #B8DD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789A1F#FFFFFF#000000##000000
##789A1F1.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)
#9E8E2C
Tritanopia (blue-blind)
#7E9283
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a1f;
/* rgb */ color: rgb(120, 154, 31);
/* oklch */ color: oklch(63.8% 0.148 124.6);
Tailwind
colors: {
  custom: {
    50: '#a3b866',
    500: '#789a1f',
    950: '#000000',
  },
}
SCSS
$custom: #789a1f;
$custom-light: #a3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#789a1f",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 76.585,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.14826,
    "h": 124.6
  },
  "luminance": 0.27203
}

Semantic roles & 50–950 ramp

primary
#789A1F
secondary
#7254C1
accent
#3EE96E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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