#7A9528#7A9528

#7A9528 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.136 H 122.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7A9528
RGBrgb(122, 149, 40)
HSLhsl(75, 58%, 37%)
HSVhsv(75, 73%, 58%)
CMYKcmyk(18.1%, 0%, 73.2%, 41.6%)
CIE-LABlab(57.83, -25.09, 51.30)
CIE-LCHlch(57.83, 57.10, 116.06°)
OKLaboklab(62.79% -0.0733 0.1145)
OKLCHoklch(62.79% 0.136 122.6)
XYZxyz(19.1567, 25.7856, 5.9750)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9528 #432895
analogous
#957928 #7A9528 #449528
triadic
#7A9528 #287A95 #95287A
tetradic
#7A9528 #289579 #432895 #952844
square
#7A9528 #289579 #432895 #952844
split-complementary
#7A9528 #284495 #792895
monochromatic
#2B350E #52651B #7A9528 #A2C535 #B9D562

Accessibility & contrast

On white

3.41
#7A9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7A9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A9528#FFFFFF#000000##000000
##7A95281.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)
#9E8C14
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#808D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9528;
/* rgb */ color: rgb(122, 149, 40);
/* oklch */ color: oklch(62.8% 0.136 122.6);
Tailwind
colors: {
  custom: {
    50: '#a4b46a',
    500: '#7a9528',
    950: '#000000',
  },
}
SCSS
$custom: #7a9528;
$custom-light: #a4b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9528",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 74.862,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.13595,
    "h": 122.6
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#7A9528
secondary
#755EBB
accent
#47E16D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9528

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

Preview Lab → · Contrast checker → · Palette generator →

#7A9528 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva