#789316#789316

#789316 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.144 H 122.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#789316
RGBrgb(120, 147, 22)
HSLhsl(73, 74%, 33%)
HSVhsv(73, 85%, 58%)
CMYKcmyk(18.4%, 0%, 85%, 42.4%)
CIE-LABlab(57.00, -25.79, 56.18)
CIE-LCHlch(57.00, 61.82, 114.66°)
OKLaboklab(62.05% -0.0765 0.1218)
OKLCHoklch(62.05% 0.144 122.1)
XYZxyz(18.3246, 24.9184, 4.6033)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789316 #311693
analogous
#936F16 #789316 #399316
triadic
#789316 #167893 #931678
tetradic
#789316 #16936F #311693 #931639
square
#789316 #16936F #311693 #931639
split-complementary
#789316 #163993 #6F1693
monochromatic
#212906 #4D5E0E #789316 #A3C81E #C0E341

Accessibility & contrast

On white

3.51
#789316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#789316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789316
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789316#FFFFFF#000000##000000
##7893161.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#7F8B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #789316;
/* rgb */ color: rgb(120, 147, 22);
/* oklch */ color: oklch(62.1% 0.144 122.1);
Tailwind
colors: {
  custom: {
    50: '#a3b261',
    500: '#789316',
    950: '#000000',
  },
}
SCSS
$custom: #789316;
$custom-light: #a3b261;
$custom-dark: #000000;
JSON
{
  "hex": "#789316",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 72.96,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62052,
    "c": 0.14384,
    "h": 122.1
  },
  "luminance": 0.24918
}

Semantic roles & 50–950 ramp

primary
#789316
secondary
#5E42C3
accent
#37F15F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789316

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

Preview Lab → · Contrast checker → · Palette generator →

#789316 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva