#7B962A#7B962A

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

Color values

HEX#7B962A
RGBrgb(123, 150, 42)
HSLhsl(75, 56%, 38%)
HSVhsv(75, 72%, 59%)
CMYKcmyk(18%, 0%, 72%, 41.2%)
CIE-LABlab(58.22, -25.04, 50.94)
CIE-LCHlch(58.22, 56.76, 116.18°)
OKLaboklab(63.13% -0.073 0.1141)
OKLCHoklch(63.13% 0.135 122.6)
XYZxyz(19.4929, 26.1907, 6.2184)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B962A #452A96
analogous
#967B2A #7B962A #45962A
triadic
#7B962A #2A7B96 #962A7B
tetradic
#7B962A #2A967B #452A96 #962A45
square
#7B962A #2A967B #452A96 #962A45
split-complementary
#7B962A #2A4596 #7B2A96
monochromatic
#2D360F #54661D #7B962A #A2C637 #B9D466

Accessibility & contrast

On white

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

On black

6.24
#7B962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B962A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B962A#FFFFFF#000000##000000
##7B962A1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b962a;
/* rgb */ color: rgb(123, 150, 42);
/* oklch */ color: oklch(63.1% 0.135 122.6);
Tailwind
colors: {
  custom: {
    50: '#a4b56b',
    500: '#7b962a',
    950: '#000000',
  },
}
SCSS
$custom: #7b962a;
$custom-light: #a4b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b962a",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 75,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63126,
    "c": 0.13544,
    "h": 122.6
  },
  "luminance": 0.26191
}

Semantic roles & 50–950 ramp

primary
#7B962A
secondary
#7861BA
accent
#48E06E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B962A

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

Preview Lab → · Contrast checker → · Palette generator →

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