#789124#789124

#789124 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.6% C 0.134 H 121.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#789124
RGBrgb(120, 145, 36)
HSLhsl(74, 60%, 35%)
HSVhsv(74, 75%, 57%)
CMYKcmyk(17.2%, 0%, 75.2%, 43.1%)
CIE-LABlab(56.46, -24.18, 51.38)
CIE-LCHlch(56.46, 56.78, 115.20°)
OKLaboklab(61.64% -0.071 0.1141)
OKLCHoklch(61.64% 0.134 121.9)
XYZxyz(18.1898, 24.3712, 5.4146)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789124 #3D2491
analogous
#917324 #789124 #429124
triadic
#789124 #247891 #912478
tetradic
#789124 #249173 #3D2491 #912442
square
#789124 #249173 #3D2491 #912442
split-complementary
#789124 #244291 #732491
monochromatic
#272F0C #4F6018 #789124 #A1C230 #B9D659

Accessibility & contrast

On white

3.57
#789124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#789124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789124
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789124#FFFFFF#000000##000000
##7891241.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#7F897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #789124;
/* rgb */ color: rgb(120, 145, 36);
/* oklch */ color: oklch(61.6% 0.134 121.9);
Tailwind
colors: {
  custom: {
    50: '#a2b167',
    500: '#789124',
    950: '#000000',
  },
}
SCSS
$custom: #789124;
$custom-light: #a2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#789124",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 73.761,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.13436,
    "h": 121.9
  },
  "luminance": 0.24371
}

Semantic roles & 50–950 ramp

primary
#789124
secondary
#6D56BA
accent
#44E369
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789124

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

Preview Lab → · Contrast checker → · Palette generator →

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