#7B9220#7B9220

#7B9220 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.137 H 120.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7B9220
RGBrgb(123, 146, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 57%)
CMYKcmyk(15.8%, 0%, 78.1%, 42.7%)
CIE-LABlab(56.95, -23.60, 53.30)
CIE-LCHlch(56.95, 58.29, 113.88°)
OKLaboklab(62.09% -0.0699 0.1173)
OKLCHoklch(62.09% 0.137 120.8)
XYZxyz(18.7083, 24.8730, 5.1816)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9220 #372092
analogous
#927020 #7B9220 #429220
triadic
#7B9220 #207B92 #92207B
tetradic
#7B9220 #209270 #372092 #922042
square
#7B9220 #209270 #372092 #922042
split-complementary
#7B9220 #204292 #702092
monochromatic
#262E0A #516015 #7B9220 #A5C42B #BED953

Accessibility & contrast

On white

3.51
#7B9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#7B9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9220
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9220#FFFFFF#000000##000000
##7B92201.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8902
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#828A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9220;
/* rgb */ color: rgb(123, 146, 32);
/* oklch */ color: oklch(62.1% 0.137 120.8);
Tailwind
colors: {
  custom: {
    50: '#a4b265',
    500: '#7b9220',
    950: '#000000',
  },
}
SCSS
$custom: #7b9220;
$custom-light: #a4b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9220",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 72.105,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.13658,
    "h": 120.8
  },
  "luminance": 0.24873
}

Semantic roles & 50–950 ramp

primary
#7B9220
secondary
#6751BD
accent
#41E762
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9220

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

Preview Lab → · Contrast checker → · Palette generator →

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