#789318#789318

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

Color values

HEX#789318
RGBrgb(120, 147, 24)
HSLhsl(73, 72%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(18.4%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.00, -25.72, 55.67)
CIE-LCHlch(57.00, 61.32, 114.80°)
OKLaboklab(62.06% -0.0761 0.1211)
OKLCHoklch(62.06% 0.143 122.2)
XYZxyz(18.3446, 24.9264, 4.7088)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789318 #331893
analogous
#937018 #789318 #3A9318
triadic
#789318 #187893 #931878
tetradic
#789318 #189370 #331893 #93183A
square
#789318 #189370 #331893 #93183A
split-complementary
#789318 #183A93 #701893
monochromatic
#222A07 #4D5E0F #789318 #A3C821 #BEE145

Accessibility & contrast

On white

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

On black

5.99
#789318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789318
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789318#FFFFFF#000000##000000
##7893181.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789318;
/* rgb */ color: rgb(120, 147, 24);
/* oklch */ color: oklch(62.1% 0.143 122.2);
Tailwind
colors: {
  custom: {
    50: '#a3b262',
    500: '#789318',
    950: '#000000',
  },
}
SCSS
$custom: #789318;
$custom-light: #a3b262;
$custom-dark: #000000;
JSON
{
  "hex": "#789318",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 73.171,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.14302,
    "h": 122.2
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#789318
secondary
#6045C2
accent
#39EF61
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789318

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

Preview Lab → · Contrast checker → · Palette generator →

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