#789520#789520

#789520 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.142 H 123.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#789520
RGBrgb(120, 149, 32)
HSLhsl(75, 65%, 35%)
HSVhsv(75, 79%, 58%)
CMYKcmyk(19.5%, 0%, 78.5%, 41.6%)
CIE-LABlab(57.65, -26.36, 53.87)
CIE-LCHlch(57.65, 59.98, 116.07°)
OKLaboklab(62.59% -0.0773 0.1186)
OKLCHoklch(62.59% 0.142 123.1)
XYZxyz(18.7541, 25.5921, 5.3180)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789520 #3D2095
analogous
#957720 #789520 #3D9520
triadic
#789520 #207895 #952078
tetradic
#789520 #209577 #3D2095 #95203D
square
#789520 #209577 #3D2095 #95203D
split-complementary
#789520 #203D95 #772095
monochromatic
#27300A #4F6315 #789520 #A1C72B #B9DA55

Accessibility & contrast

On white

3.43
#789520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#789520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789520
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789520#FFFFFF#000000##000000
##7895201.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#7E8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789520;
/* rgb */ color: rgb(120, 149, 32);
/* oklch */ color: oklch(62.6% 0.142 123.1);
Tailwind
colors: {
  custom: {
    50: '#a2b466',
    500: '#789520',
    950: '#000000',
  },
}
SCSS
$custom: #789520;
$custom-light: #a2b466;
$custom-dark: #000000;
JSON
{
  "hex": "#789520",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 74.872,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.14159,
    "h": 123.1
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#789520
secondary
#6D53BE
accent
#40E86A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789520

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

Preview Lab → · Contrast checker → · Palette generator →

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