#789E1F#789E1F

#789E1F is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.153 H 125.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#789E1F
RGBrgb(120, 158, 31)
HSLhsl(78, 67%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(24.1%, 0%, 80.4%, 38%)
CIE-LABlab(60.38, -30.73, 56.69)
CIE-LCHlch(60.38, 64.49, 118.46°)
OKLaboklab(64.8% -0.0893 0.1244)
OKLCHoklch(64.8% 0.153 125.7)
XYZxyz(20.2201, 28.5454, 5.7406)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E1F #451F9E
analogous
#9E851F #789E1F #389E1F
triadic
#789E1F #1F789E #9E1F78
tetradic
#789E1F #1F9E85 #451F9E #9E1F38
square
#789E1F #1F9E85 #451F9E #9E1F38
split-complementary
#789E1F #1F389E #851F9E
monochromatic
#2A380B #516B15 #789E1F #9FD129 #B6DE59

Accessibility & contrast

On white

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

On black

6.71
#789E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E1F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E1F#FFFFFF#000000##000000
##789E1F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e1f;
/* rgb */ color: rgb(120, 158, 31);
/* oklch */ color: oklch(64.8% 0.153 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba67',
    500: '#789e1f',
    950: '#000000',
  },
}
SCSS
$custom: #789e1f;
$custom-light: #a3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#789e1f",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 77.953,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64803,
    "c": 0.15316,
    "h": 125.7
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

primary
#789E1F
secondary
#7756C2
accent
#3EEA71
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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