#7A9525#7A9525

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

Color values

HEX#7A9525
RGBrgb(122, 149, 37)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 58%)
CMYKcmyk(18.1%, 0%, 75.2%, 41.6%)
CIE-LABlab(57.81, -25.26, 52.38)
CIE-LCHlch(57.81, 58.15, 115.75°)
OKLaboklab(62.77% -0.074 0.1163)
OKLCHoklch(62.77% 0.138 122.5)
XYZxyz(19.1077, 25.7660, 5.7166)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9525 #402595
analogous
#957825 #7A9525 #429525
triadic
#7A9525 #257A95 #95257A
tetradic
#7A9525 #259578 #402595 #952542
square
#7A9525 #259578 #402595 #952542
split-complementary
#7A9525 #254295 #782595
monochromatic
#2A330D #526419 #7A9525 #A2C631 #BAD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9525#FFFFFF#000000##000000
##7A95251.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)
#9E8C0E
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#818D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9525;
/* rgb */ color: rgb(122, 149, 37);
/* oklch */ color: oklch(62.8% 0.138 122.5);
Tailwind
colors: {
  custom: {
    50: '#a4b468',
    500: '#7a9525',
    950: '#000000',
  },
}
SCSS
$custom: #7a9525;
$custom-light: #a4b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9525",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 74.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.13783,
    "h": 122.5
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#7A9525
secondary
#725ABC
accent
#44E36B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9525

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

Preview Lab → · Contrast checker → · Palette generator →

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