#7A962B#7A962B

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

Color values

HEX#7A962B
RGBrgb(122, 150, 43)
HSLhsl(76, 55%, 38%)
HSVhsv(76, 71%, 59%)
CMYKcmyk(18.7%, 0%, 71.3%, 41.2%)
CIE-LABlab(58.16, -25.40, 50.47)
CIE-LCHlch(58.16, 56.50, 116.72°)
OKLaboklab(63.06% -0.0739 0.1133)
OKLCHoklch(63.06% 0.135 123.1)
XYZxyz(19.3686, 26.1246, 6.3072)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962B #472B96
analogous
#967C2B #7A962B #44962B
triadic
#7A962B #2B7A96 #962B7A
tetradic
#7A962B #2B967C #472B96 #962B44
square
#7A962B #2B967C #472B96 #962B44
split-complementary
#7A962B #2B4496 #7C2B96
monochromatic
#2D3710 #53661D #7A962B #A1C639 #B7D468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A962B#FFFFFF#000000##000000
##7A962B1.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)
#9F8D19
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#808E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a962b;
/* rgb */ color: rgb(122, 150, 43);
/* oklch */ color: oklch(63.1% 0.135 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3b56b',
    500: '#7a962b',
    950: '#000000',
  },
}
SCSS
$custom: #7a962b;
$custom-light: #a3b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962b",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 75.701,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6306,
    "c": 0.13522,
    "h": 123.1
  },
  "luminance": 0.26125
}

Semantic roles & 50–950 ramp

primary
#7A962B
secondary
#7A63BA
accent
#49DF70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962B

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

Preview Lab → · Contrast checker → · Palette generator →

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