#7B962F#7B962F

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

Color values

HEX#7B962F
RGBrgb(123, 150, 47)
HSLhsl(76, 52%, 39%)
HSVhsv(76, 69%, 59%)
CMYKcmyk(18%, 0%, 68.7%, 41.2%)
CIE-LABlab(58.25, -24.72, 48.99)
CIE-LCHlch(58.25, 54.87, 116.78°)
OKLaboklab(63.17% -0.0717 0.1108)
OKLCHoklch(63.17% 0.132 122.9)
XYZxyz(19.5880, 26.2288, 6.7195)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B962F #4A2F96
analogous
#967D2F #7B962F #47962F
triadic
#7B962F #2F7B96 #962F7B
tetradic
#7B962F #2F967D #4A2F96 #962F47
square
#7B962F #2F967D #4A2F96 #962F47
split-complementary
#7B962F #2F4796 #7D2F96
monochromatic
#2F3912 #556720 #7B962F #A0C33F #B7D26E

Accessibility & contrast

On white

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

On black

6.25
#7B962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B962F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B962F#FFFFFF#000000##000000
##7B962F1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b962f;
/* rgb */ color: rgb(123, 150, 47);
/* oklch */ color: oklch(63.2% 0.132 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b56e',
    500: '#7b962f',
    950: '#000000',
  },
}
SCSS
$custom: #7b962f;
$custom-light: #a4b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b962f",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 75.728,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63167,
    "c": 0.13193,
    "h": 122.9
  },
  "luminance": 0.26229
}

Semantic roles & 50–950 ramp

primary
#7B962F
secondary
#7D68B9
accent
#4CDC72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B962F

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

Preview Lab → · Contrast checker → · Palette generator →

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