#7B962C#7B962C

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

Color values

HEX#7B962C
RGBrgb(123, 150, 44)
HSLhsl(75, 55%, 38%)
HSVhsv(75, 71%, 59%)
CMYKcmyk(18%, 0%, 70.7%, 41.2%)
CIE-LABlab(58.23, -24.92, 50.18)
CIE-LCHlch(58.23, 56.02, 116.41°)
OKLaboklab(63.14% -0.0725 0.1128)
OKLCHoklch(63.14% 0.134 122.7)
XYZxyz(19.5296, 26.2054, 6.4117)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B962C #472C96
analogous
#967C2C #7B962C #46962C
triadic
#7B962C #2C7B96 #962C7B
tetradic
#7B962C #2C967C #472C96 #962C46
square
#7B962C #2C967C #472C96 #962C46
split-complementary
#7B962C #2C4696 #7C2C96
monochromatic
#2D3710 #54671E #7B962C #A2C53A #B8D369

Accessibility & contrast

On white

3.36
#7B962C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B962C#FFFFFF#000000##000000
##7B962C1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b962c;
/* rgb */ color: rgb(123, 150, 44);
/* oklch */ color: oklch(63.1% 0.134 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b56c',
    500: '#7b962c',
    950: '#000000',
  },
}
SCSS
$custom: #7b962c;
$custom-light: #a4b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b962c",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 75.283,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.13407,
    "h": 122.7
  },
  "luminance": 0.26205
}

Semantic roles & 50–950 ramp

primary
#7B962C
secondary
#7A64BA
accent
#4ADE70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B962C

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

Preview Lab → · Contrast checker → · Palette generator →

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