#7A962E#7A962E

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

Color values

HEX#7A962E
RGBrgb(122, 150, 46)
HSLhsl(76, 53%, 38%)
HSVhsv(76, 69%, 59%)
CMYKcmyk(18.7%, 0%, 69.3%, 41.2%)
CIE-LABlab(58.18, -25.21, 49.30)
CIE-LCHlch(58.18, 55.37, 117.08°)
OKLaboklab(63.09% -0.073 0.1113)
OKLCHoklch(63.09% 0.133 123.3)
XYZxyz(19.4257, 26.1474, 6.6078)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962E #4A2E96
analogous
#967E2E #7A962E #46962E
triadic
#7A962E #2E7A96 #962E7A
tetradic
#7A962E #2E967E #4A2E96 #962E46
square
#7A962E #2E967E #4A2E96 #962E46
split-complementary
#7A962E #2E4696 #7E2E96
monochromatic
#2E3811 #546720 #7A962E #A0C43E #B7D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A962E#FFFFFF#000000##000000
##7A962E1.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)
#9F8D1E
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#808F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a962e;
/* rgb */ color: rgb(122, 150, 46);
/* oklch */ color: oklch(63.1% 0.133 123.3);
Tailwind
colors: {
  custom: {
    50: '#a3b56d',
    500: '#7a962e',
    950: '#000000',
  },
}
SCSS
$custom: #7a962e;
$custom-light: #a3b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962e",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 76.154,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.13311,
    "h": 123.3
  },
  "luminance": 0.26148
}

Semantic roles & 50–950 ramp

primary
#7A962E
secondary
#7D67B9
accent
#4BDC72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962E

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

Preview Lab → · Contrast checker → · Palette generator →

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