#7A962D#7A962D

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

Color values

HEX#7A962D
RGBrgb(122, 150, 45)
HSLhsl(76, 54%, 38%)
HSVhsv(76, 70%, 59%)
CMYKcmyk(18.7%, 0%, 70%, 41.2%)
CIE-LABlab(58.17, -25.27, 49.69)
CIE-LCHlch(58.17, 55.75, 116.96°)
OKLaboklab(63.08% -0.0733 0.112)
OKLCHoklch(63.08% 0.134 123.2)
XYZxyz(19.4062, 26.1396, 6.5052)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962D #492D96
analogous
#967D2D #7A962D #45962D
triadic
#7A962D #2D7A96 #962D7A
tetradic
#7A962D #2D967D #492D96 #962D45
square
#7A962D #2D967D #492D96 #962D45
split-complementary
#7A962D #2D4596 #7D2D96
monochromatic
#2D3811 #54671F #7A962D #A0C43C #B7D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A962D#FFFFFF#000000##000000
##7A962D1.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)
#9F8D1D
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#808E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a962d;
/* rgb */ color: rgb(122, 150, 45);
/* oklch */ color: oklch(63.1% 0.134 123.2);
Tailwind
colors: {
  custom: {
    50: '#a3b56c',
    500: '#7a962d',
    950: '#000000',
  },
}
SCSS
$custom: #7a962d;
$custom-light: #a3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962d",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 76,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63076,
    "c": 0.13382,
    "h": 123.2
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#7A962D
secondary
#7C65B9
accent
#4BDD72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962D

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

Preview Lab → · Contrast checker → · Palette generator →

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