#789528#789528

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

Color values

HEX#789528
RGBrgb(120, 149, 40)
HSLhsl(76, 58%, 37%)
HSVhsv(76, 73%, 58%)
CMYKcmyk(19.5%, 0%, 73.2%, 41.6%)
CIE-LABlab(57.69, -25.93, 51.11)
CIE-LCHlch(57.69, 57.32, 116.90°)
OKLaboklab(62.65% -0.0755 0.1142)
OKLCHoklch(62.65% 0.137 123.5)
XYZxyz(18.8764, 25.6410, 5.9618)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789528 #452895
analogous
#957C28 #789528 #429528
triadic
#789528 #287895 #952878
tetradic
#789528 #28957C #452895 #952842
square
#789528 #28957C #452895 #952842
split-complementary
#789528 #284295 #7C2895
monochromatic
#2A350E #51651B #789528 #9FC535 #B6D562

Accessibility & contrast

On white

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

On black

6.13
#789528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789528
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789528#FFFFFF#000000##000000
##7895281.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B14
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#7E8D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #789528;
/* rgb */ color: rgb(120, 149, 40);
/* oklch */ color: oklch(62.6% 0.137 123.5);
Tailwind
colors: {
  custom: {
    50: '#a2b46a',
    500: '#789528',
    950: '#000000',
  },
}
SCSS
$custom: #789528;
$custom-light: #a2b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#789528",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 75.963,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.13687,
    "h": 123.5
  },
  "luminance": 0.25641
}

Semantic roles & 50–950 ramp

primary
#789528
secondary
#775EBB
accent
#47E170
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789528

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

Preview Lab → · Contrast checker → · Palette generator →

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