#7A962C#7A962C

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

Color values

HEX#7A962C
RGBrgb(122, 150, 44)
HSLhsl(76, 55%, 38%)
HSVhsv(76, 71%, 59%)
CMYKcmyk(18.7%, 0%, 70.7%, 41.2%)
CIE-LABlab(58.16, -25.34, 50.08)
CIE-LCHlch(58.16, 56.13, 116.84°)
OKLaboklab(63.07% -0.0736 0.1126)
OKLCHoklch(63.07% 0.135 123.2)
XYZxyz(19.3872, 26.1320, 6.4050)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A962C #482C96
analogous
#967D2C #7A962C #45962C
triadic
#7A962C #2C7A96 #962C7A
tetradic
#7A962C #2C967D #482C96 #962C45
square
#7A962C #2C967D #482C96 #962C45
split-complementary
#7A962C #2C4596 #7D2C96
monochromatic
#2D3710 #54671E #7A962C #A0C53A #B7D369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a962c;
/* rgb */ color: rgb(122, 150, 44);
/* oklch */ color: oklch(63.1% 0.135 123.2);
Tailwind
colors: {
  custom: {
    50: '#a3b56c',
    500: '#7a962c',
    950: '#000000',
  },
}
SCSS
$custom: #7a962c;
$custom-light: #a3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a962c",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 75.849,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.13453,
    "h": 123.2
  },
  "luminance": 0.26132
}

Semantic roles & 50–950 ramp

primary
#7A962C
secondary
#7B64BA
accent
#4ADE71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A962C

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

Preview Lab → · Contrast checker → · Palette generator →

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