#789518#789518

#789518 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.145 H 122.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#789518
RGBrgb(120, 149, 24)
HSLhsl(74, 72%, 34%)
HSVhsv(74, 84%, 58%)
CMYKcmyk(19.5%, 0%, 83.9%, 41.6%)
CIE-LABlab(57.61, -26.70, 56.20)
CIE-LCHlch(57.61, 62.22, 115.41°)
OKLaboklab(62.55% -0.0788 0.1222)
OKLCHoklch(62.55% 0.145 122.8)
XYZxyz(18.6583, 25.5538, 4.8134)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789518 #351895
analogous
#957418 #789518 #3A9518
triadic
#789518 #187895 #951878
tetradic
#789518 #189574 #351895 #95183A
square
#789518 #189574 #351895 #95183A
split-complementary
#789518 #183A95 #741895
monochromatic
#232C07 #4E6010 #789518 #A2CA20 #BDE146

Accessibility & contrast

On white

3.44
#789518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#789518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789518
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789518#FFFFFF#000000##000000
##7895181.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#7F8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789518;
/* rgb */ color: rgb(120, 149, 24);
/* oklch */ color: oklch(62.6% 0.145 122.8);
Tailwind
colors: {
  custom: {
    50: '#a3b463',
    500: '#789518',
    950: '#000000',
  },
}
SCSS
$custom: #789518;
$custom-light: #a3b463;
$custom-dark: #000000;
JSON
{
  "hex": "#789518",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 73.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62552,
    "c": 0.14541,
    "h": 122.8
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#789518
secondary
#6346C2
accent
#39EF63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789518

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

Preview Lab → · Contrast checker → · Palette generator →

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