#789317#789317

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

Color values

HEX#789317
RGBrgb(120, 147, 23)
HSLhsl(73, 73%, 33%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(18.4%, 0%, 84.4%, 42.4%)
CIE-LABlab(57.00, -25.75, 55.93)
CIE-LCHlch(57.00, 61.57, 114.73°)
OKLaboklab(62.06% -0.0763 0.1215)
OKLCHoklch(62.06% 0.143 122.1)
XYZxyz(18.3344, 24.9223, 4.6550)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789317 #321793
analogous
#937017 #789317 #3A9317
triadic
#789317 #177893 #931778
tetradic
#789317 #179370 #321793 #93173A
square
#789317 #179370 #321793 #93173A
split-complementary
#789317 #173A93 #701793
monochromatic
#222906 #4D5E0F #789317 #A3C81F #BFE243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789317#FFFFFF#000000##000000
##7893171.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: #789317;
/* rgb */ color: rgb(120, 147, 23);
/* oklch */ color: oklch(62.1% 0.143 122.1);
Tailwind
colors: {
  custom: {
    50: '#a3b262',
    500: '#789317',
    950: '#000000',
  },
}
SCSS
$custom: #789317;
$custom-light: #a3b262;
$custom-dark: #000000;
JSON
{
  "hex": "#789317",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 23
  },
  "hsl": {
    "h": 73.065,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.14343,
    "h": 122.1
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#789317
secondary
#5F44C2
accent
#38F060
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789317

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

Preview Lab → · Contrast checker → · Palette generator →

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