#789452#789452

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

Color values

HEX#789452
RGBrgb(120, 148, 82)
HSLhsl(85, 29%, 45%)
HSVhsv(85, 45%, 58%)
CMYKcmyk(18.9%, 0%, 44.6%, 42%)
CIE-LABlab(57.83, -21.54, 31.64)
CIE-LCHlch(57.83, 38.28, 124.24°)
OKLaboklab(62.9% -0.0595 0.0768)
OKLCHoklch(62.9% 0.097 127.8)
XYZxyz(19.8584, 25.7818, 11.9112)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789452 #6E5294
analogous
#948F52 #789452 #579452
triadic
#789452 #527894 #945278
tetradic
#789452 #52948F #6E5294 #945257
square
#789452 #52948F #6E5294 #945257
split-complementary
#789452 #525794 #8F5294
monochromatic
#384526 #586D3C #789452 #96B172 #B4C79A

Accessibility & contrast

On white

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

On black

6.16
#789452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789452
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789452#FFFFFF#000000##000000
##7894521.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789452;
/* rgb */ color: rgb(120, 148, 82);
/* oklch */ color: oklch(62.9% 0.097 127.8);
Tailwind
colors: {
  custom: {
    50: '#a0b384',
    500: '#789452',
    950: '#000000',
  },
}
SCSS
$custom: #789452;
$custom-light: #a0b384;
$custom-dark: #000000;
JSON
{
  "hex": "#789452",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 82
  },
  "hsl": {
    "h": 85.455,
    "s": 28.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.09718,
    "h": 127.8
  },
  "luminance": 0.25782
}

Semantic roles & 50–950 ramp

primary
#789452
secondary
#9E8EB4
accent
#63C58C
background
#F9FBF8
surface
#F2F6EF
border
#CCD0CA
text
#0F110B
muted
#7E807C

Preview Lab

Preview with #789452

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

Preview Lab → · Contrast checker → · Palette generator →

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