#7A9526#7A9526

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

Color values

HEX#7A9526
RGBrgb(122, 149, 38)
HSLhsl(75, 59%, 37%)
HSVhsv(75, 74%, 58%)
CMYKcmyk(18.1%, 0%, 74.5%, 41.6%)
CIE-LABlab(57.82, -25.20, 52.02)
CIE-LCHlch(57.82, 57.81, 115.85°)
OKLaboklab(62.78% -0.0738 0.1157)
OKLCHoklch(62.78% 0.137 122.5)
XYZxyz(19.1236, 25.7723, 5.8004)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9526 #412695
analogous
#957926 #7A9526 #429526
triadic
#7A9526 #267A95 #95267A
tetradic
#7A9526 #269579 #412695 #952642
square
#7A9526 #269579 #412695 #952642
split-complementary
#7A9526 #264295 #792695
monochromatic
#2A330D #52641A #7A9526 #A2C632 #B9D65F

Accessibility & contrast

On white

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

On black

6.15
#7A9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9526
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9526#FFFFFF#000000##000000
##7A95261.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C10
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#818D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9526;
/* rgb */ color: rgb(122, 149, 38);
/* oklch */ color: oklch(62.8% 0.137 122.5);
Tailwind
colors: {
  custom: {
    50: '#a4b469',
    500: '#7a9526',
    950: '#000000',
  },
}
SCSS
$custom: #7a9526;
$custom-light: #a4b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9526",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 74.595,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.13722,
    "h": 122.5
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

primary
#7A9526
secondary
#735BBB
accent
#45E36C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9526

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

Preview Lab → · Contrast checker → · Palette generator →

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