#789018#789018

#789018 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.3% C 0.139 H 121.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#789018
RGBrgb(120, 144, 24)
HSLhsl(72, 71%, 33%)
HSVhsv(72, 83%, 56%)
CMYKcmyk(16.7%, 0%, 83.3%, 43.5%)
CIE-LABlab(56.09, -24.23, 54.87)
CIE-LCHlch(56.09, 59.98, 113.83°)
OKLaboklab(61.33% -0.0721 0.1194)
OKLCHoklch(61.33% 0.139 121.1)
XYZxyz(17.8842, 24.0055, 4.5553)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789018 #301890
analogous
#906C18 #789018 #3C9018
triadic
#789018 #187890 #901878
tetradic
#789018 #18906C #301890 #90183C
square
#789018 #18906C #301890 #90183C
split-complementary
#789018 #183C90 #6C1890
monochromatic
#212707 #4C5C0F #789018 #A4C421 #C0E043

Accessibility & contrast

On white

3.62
#789018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#789018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789018
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789018#FFFFFF#000000##000000
##7890181.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#968725
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #789018;
/* rgb */ color: rgb(120, 144, 24);
/* oklch */ color: oklch(61.3% 0.139 121.1);
Tailwind
colors: {
  custom: {
    50: '#a3b062',
    500: '#789018',
    950: '#000000',
  },
}
SCSS
$custom: #789018;
$custom-light: #a3b062;
$custom-dark: #000000;
JSON
{
  "hex": "#789018",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.13944,
    "h": 121.1
  },
  "luminance": 0.24006
}

Semantic roles & 50–950 ramp

primary
#789018
secondary
#5C43C0
accent
#3AEE5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789018

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

Preview Lab → · Contrast checker → · Palette generator →

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