#7A962F#7A962F

#7A962F is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.132 H 123.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7A962F
RGBrgb(122, 150, 47)
HSLhsl(76, 52%, 39%)
HSVhsv(76, 69%, 59%)
CMYKcmyk(18.7%, 0%, 68.7%, 41.2%)
CIE-LABlab(58.18, -25.14, 48.89)
CIE-LCHlch(58.18, 54.98, 117.21°)
OKLaboklab(63.09% -0.0728 0.1106)
OKLCHoklch(63.09% 0.132 123.3)
XYZxyz(19.4457, 26.1554, 6.7128)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962F #4B2F96
analogous
#967E2F #7A962F #46962F
triadic
#7A962F #2F7A96 #962F7A
tetradic
#7A962F #2F967E #4B2F96 #962F46
square
#7A962F #2F967E #4B2F96 #962F46
split-complementary
#7A962F #2F4696 #7E2F96
monochromatic
#2E3912 #546720 #7A962F #9FC33F #B6D26E

Accessibility & contrast

On white

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

On black

6.23
#7A962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A962F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A962F#FFFFFF#000000##000000
##7A962F1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D20
Deuteranopia (green-blind)
#9B8C37
Tritanopia (blue-blind)
#808F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a962f;
/* rgb */ color: rgb(122, 150, 47);
/* oklch */ color: oklch(63.1% 0.132 123.3);
Tailwind
colors: {
  custom: {
    50: '#a3b56e',
    500: '#7a962f',
    950: '#000000',
  },
}
SCSS
$custom: #7a962f;
$custom-light: #a3b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962f",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 76.311,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.13237,
    "h": 123.3
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

primary
#7A962F
secondary
#7E68B9
accent
#4CDC73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962F

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

Preview Lab → · Contrast checker → · Palette generator →

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