#7B9520#7B9520

#7B9520 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.140 H 121.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7B9520
RGBrgb(123, 149, 32)
HSLhsl(73, 65%, 35%)
HSVhsv(73, 79%, 58%)
CMYKcmyk(17.4%, 0%, 78.5%, 41.6%)
CIE-LABlab(57.86, -25.09, 54.14)
CIE-LCHlch(57.86, 59.67, 114.86°)
OKLaboklab(62.82% -0.074 0.1191)
OKLCHoklch(62.82% 0.14 121.9)
XYZxyz(19.1768, 25.8101, 5.3378)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9520 #3A2095
analogous
#957420 #7B9520 #419520
triadic
#7B9520 #207B95 #95207B
tetradic
#7B9520 #209574 #3A2095 #952041
square
#7B9520 #209574 #3A2095 #952041
split-complementary
#7B9520 #204195 #742095
monochromatic
#28300A #516315 #7B9520 #A5C72B #BDDA55

Accessibility & contrast

On white

3.41
#7B9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7B9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9520
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9520#FFFFFF#000000##000000
##7B95201.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9520;
/* rgb */ color: rgb(123, 149, 32);
/* oklch */ color: oklch(62.8% 0.140 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b466',
    500: '#7b9520',
    950: '#000000',
  },
}
SCSS
$custom: #7b9520;
$custom-light: #a5b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9520",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 73.333,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.14022,
    "h": 121.9
  },
  "luminance": 0.2581
}

Semantic roles & 50–950 ramp

primary
#7B9520
secondary
#6B53BE
accent
#40E865
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9520

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

Preview Lab → · Contrast checker → · Palette generator →

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