#789451#789451

#789451 is a light, moderate yellow-green. Relative luminance 0.258; OKLCH L 62.9% C 0.098 H 127.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#789451
RGBrgb(120, 148, 81)
HSLhsl(85, 29%, 45%)
HSVhsv(85, 45%, 58%)
CMYKcmyk(18.9%, 0%, 45.3%, 42%)
CIE-LABlab(57.81, -21.66, 32.15)
CIE-LCHlch(57.81, 38.77, 123.97°)
OKLaboklab(62.88% -0.0599 0.0779)
OKLCHoklch(62.88% 0.098 127.6)
XYZxyz(19.8207, 25.7667, 11.7122)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789451 #6D5194
analogous
#948F51 #789451 #569451
triadic
#789451 #517894 #945178
tetradic
#789451 #51948F #6D5194 #945156
square
#789451 #51948F #6D5194 #945156
split-complementary
#789451 #515694 #8F5194
monochromatic
#384526 #586C3B #789451 #96B171 #B4C798

Accessibility & contrast

On white

3.41
#789451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#789451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789451
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789451#FFFFFF#000000##000000
##7894511.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4C
Deuteranopia (green-blind)
#968A55
Tritanopia (blue-blind)
#7B8F84
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #789451;
/* rgb */ color: rgb(120, 148, 81);
/* oklch */ color: oklch(62.9% 0.098 127.6);
Tailwind
colors: {
  custom: {
    50: '#a0b383',
    500: '#789451',
    950: '#000000',
  },
}
SCSS
$custom: #789451;
$custom-light: #a0b383;
$custom-dark: #000000;
JSON
{
  "hex": "#789451",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 81
  },
  "hsl": {
    "h": 85.075,
    "s": 29.258,
    "l": 44.902
  },
  "oklch": {
    "l": 0.62879,
    "c": 0.09831,
    "h": 127.6
  },
  "luminance": 0.25767
}

Semantic roles & 50–950 ramp

primary
#789451
secondary
#9D8DB4
accent
#62C68C
background
#F9FBF8
surface
#F2F6EF
border
#CCD0CA
text
#0F110B
muted
#7E807C

Preview Lab

Preview with #789451

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

Preview Lab → · Contrast checker → · Palette generator →

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