#7A962A#7A962A

#7A962A is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.136 H 123.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A962A
RGBrgb(122, 150, 42)
HSLhsl(76, 56%, 38%)
HSVhsv(76, 72%, 59%)
CMYKcmyk(18.7%, 0%, 72%, 41.2%)
CIE-LABlab(58.15, -25.46, 50.85)
CIE-LCHlch(58.15, 56.87, 116.60°)
OKLaboklab(63.05% -0.0741 0.1139)
OKLCHoklch(63.05% 0.136 123.1)
XYZxyz(19.3505, 26.1173, 6.2118)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962A #462A96
analogous
#967C2A #7A962A #44962A
triadic
#7A962A #2A7A96 #962A7A
tetradic
#7A962A #2A967C #462A96 #962A44
square
#7A962A #2A967C #462A96 #962A44
split-complementary
#7A962A #2A4496 #7C2A96
monochromatic
#2C360F #53661D #7A962A #A1C637 #B8D466

Accessibility & contrast

On white

3.37
#7A962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7A962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A962A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A962A#FFFFFF#000000##000000
##7A962A1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#808E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a962a;
/* rgb */ color: rgb(122, 150, 42);
/* oklch */ color: oklch(63.1% 0.136 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3b56b',
    500: '#7a962a',
    950: '#000000',
  },
}
SCSS
$custom: #7a962a;
$custom-light: #a3b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962a",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 75.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.1359,
    "h": 123.1
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#7A962A
secondary
#7861BA
accent
#48E06F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962A

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

Preview Lab → · Contrast checker → · Palette generator →

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