#789524#789524

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

Color values

HEX#789524
RGBrgb(120, 149, 36)
HSLhsl(75, 61%, 36%)
HSVhsv(75, 76%, 58%)
CMYKcmyk(19.5%, 0%, 75.8%, 41.6%)
CIE-LABlab(57.67, -26.16, 52.54)
CIE-LCHlch(57.67, 58.69, 116.47°)
OKLaboklab(62.62% -0.0764 0.1165)
OKLCHoklch(62.62% 0.139 123.3)
XYZxyz(18.8118, 25.6152, 5.6219)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789524 #412495
analogous
#957A24 #789524 #409524
triadic
#789524 #247895 #952478
tetradic
#789524 #24957A #412495 #952440
square
#789524 #24957A #412495 #952440
split-complementary
#789524 #244095 #7A2495
monochromatic
#29320C #506418 #789524 #A0C630 #B8D85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789524#FFFFFF#000000##000000
##7895241.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)
#9E8B0B
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#7E8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789524;
/* rgb */ color: rgb(120, 149, 36);
/* oklch */ color: oklch(62.6% 0.139 123.3);
Tailwind
colors: {
  custom: {
    50: '#a2b468',
    500: '#789524',
    950: '#000000',
  },
}
SCSS
$custom: #789524;
$custom-light: #a2b468;
$custom-dark: #000000;
JSON
{
  "hex": "#789524",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 75.398,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.13935,
    "h": 123.3
  },
  "luminance": 0.25615
}

Semantic roles & 50–950 ramp

primary
#789524
secondary
#7259BC
accent
#44E46D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789524

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

Preview Lab → · Contrast checker → · Palette generator →

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