#7B962E#7B962E

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

Color values

HEX#7B962E
RGBrgb(123, 150, 46)
HSLhsl(76, 53%, 38%)
HSVhsv(76, 69%, 59%)
CMYKcmyk(18%, 0%, 69.3%, 41.2%)
CIE-LABlab(58.25, -24.79, 49.39)
CIE-LCHlch(58.25, 55.26, 116.65°)
OKLaboklab(63.16% -0.0719 0.1114)
OKLCHoklch(63.16% 0.133 122.8)
XYZxyz(19.5681, 26.2208, 6.6145)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B962E #492E96
analogous
#967D2E #7B962E #47962E
triadic
#7B962E #2E7B96 #962E7B
tetradic
#7B962E #2E967D #492E96 #962E47
square
#7B962E #2E967D #492E96 #962E47
split-complementary
#7B962E #2E4796 #7D2E96
monochromatic
#2E3811 #556720 #7B962E #A1C43E #B8D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B962E#FFFFFF#000000##000000
##7B962E1.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)
#9F8D1E
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b962e;
/* rgb */ color: rgb(123, 150, 46);
/* oklch */ color: oklch(63.2% 0.133 122.8);
Tailwind
colors: {
  custom: {
    50: '#a4b56d',
    500: '#7b962e',
    950: '#000000',
  },
}
SCSS
$custom: #7b962e;
$custom-light: #a4b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b962e",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 75.577,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63158,
    "c": 0.13265,
    "h": 122.8
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#7B962E
secondary
#7C67B9
accent
#4BDC71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B962E

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

Preview Lab → · Contrast checker → · Palette generator →

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