#7A9531#7A9531

#7A9531 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.130 H 123.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7A9531
RGBrgb(122, 149, 49)
HSLhsl(76, 51%, 39%)
HSVhsv(76, 67%, 58%)
CMYKcmyk(18.1%, 0%, 67.1%, 41.6%)
CIE-LABlab(57.90, -24.50, 47.76)
CIE-LCHlch(57.90, 53.68, 117.16°)
OKLaboklab(62.87% -0.0708 0.1085)
OKLCHoklch(62.87% 0.13 123.1)
XYZxyz(19.3281, 25.8541, 6.8772)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9531 #4C3195
analogous
#957E31 #7A9531 #489531
triadic
#7A9531 #317A95 #95317A
tetradic
#7A9531 #31957E #4C3195 #953148
square
#7A9531 #31957E #4C3195 #953148
split-complementary
#7A9531 #314895 #7E3195
monochromatic
#2F3913 #546722 #7A9531 #9FC142 #B6D070

Accessibility & contrast

On white

3.40
#7A9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7A9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9531
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9531#FFFFFF#000000##000000
##7A95311.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#808E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9531;
/* rgb */ color: rgb(122, 149, 49);
/* oklch */ color: oklch(62.9% 0.130 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3b46f',
    500: '#7a9531',
    950: '#000000',
  },
}
SCSS
$custom: #7a9531;
$custom-light: #a3b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9531",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 76.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.12956,
    "h": 123.1
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#7A9531
secondary
#7F6AB8
accent
#4EDA74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7A9531

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

Preview Lab → · Contrast checker → · Palette generator →

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