#7A951A#7A951A

#7A951A is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.144 H 122.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A951A
RGBrgb(122, 149, 26)
HSLhsl(73, 70%, 34%)
HSVhsv(73, 83%, 58%)
CMYKcmyk(18.1%, 0%, 82.6%, 41.6%)
CIE-LABlab(57.76, -25.77, 55.84)
CIE-LCHlch(57.76, 61.50, 114.78°)
OKLaboklab(62.71% -0.0763 0.1217)
OKLCHoklch(62.71% 0.144 122.1)
XYZxyz(18.9603, 25.7070, 4.9402)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951A #351A95
analogous
#95731A #7A951A #3C951A
triadic
#7A951A #1A7A95 #951A7A
tetradic
#7A951A #1A9573 #351A95 #951A3C
square
#7A951A #1A9573 #351A95 #951A3C
split-complementary
#7A951A #1A3C95 #731A95
monochromatic
#252D08 #4F6111 #7A951A #A5C923 #BFDF4A

Accessibility & contrast

On white

3.42
#7A951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7A951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A951A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A951A#FFFFFF#000000##000000
##7A951A1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a951a;
/* rgb */ color: rgb(122, 149, 26);
/* oklch */ color: oklch(62.7% 0.144 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b463',
    500: '#7a951a',
    950: '#000000',
  },
}
SCSS
$custom: #7a951a;
$custom-light: #a4b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951a",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 73.171,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.14362,
    "h": 122.1
  },
  "luminance": 0.25707
}

Semantic roles & 50–950 ramp

primary
#7A951A
secondary
#644AC1
accent
#3BED62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951A

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

Preview Lab → · Contrast checker → · Palette generator →

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