#789012#789012

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

Color values

HEX#789012
RGBrgb(120, 144, 18)
HSLhsl(71, 78%, 32%)
HSVhsv(71, 88%, 56%)
CMYKcmyk(16.7%, 0%, 87.5%, 43.5%)
CIE-LABlab(56.07, -24.43, 56.35)
CIE-LCHlch(56.07, 61.42, 113.44°)
OKLaboklab(61.3% -0.073 0.1216)
OKLCHoklch(61.3% 0.142 121)
XYZxyz(17.8285, 23.9833, 4.2622)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789012 #2A1290
analogous
#906912 #789012 #399012
triadic
#789012 #127890 #901278
tetradic
#789012 #129069 #2A1290 #901239
square
#789012 #129069 #2A1290 #901239
split-complementary
#789012 #123990 #691290
monochromatic
#1D2304 #4B5A0B #789012 #A5C619 #C5E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789012#FFFFFF#000000##000000
##7890121.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)
#9A8700
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#7F887A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #789012;
/* rgb */ color: rgb(120, 144, 18);
/* oklch */ color: oklch(61.3% 0.142 121.0);
Tailwind
colors: {
  custom: {
    50: '#a3b060',
    500: '#789012',
    950: '#000000',
  },
}
SCSS
$custom: #789012;
$custom-light: #a3b060;
$custom-dark: #000000;
JSON
{
  "hex": "#789012",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 18
  },
  "hsl": {
    "h": 71.429,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.14181,
    "h": 121
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#789012
secondary
#543AC4
accent
#34F458
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #789012

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

Preview Lab → · Contrast checker → · Palette generator →

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