#7B9521#7B9521

#7B9521 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#7B9521
RGBrgb(123, 149, 33)
HSLhsl(73, 64%, 36%)
HSVhsv(73, 78%, 58%)
CMYKcmyk(17.4%, 0%, 77.9%, 41.6%)
CIE-LABlab(57.86, -25.04, 53.82)
CIE-LCHlch(57.86, 59.36, 114.95°)
OKLaboklab(62.82% -0.0738 0.1186)
OKLCHoklch(62.82% 0.14 121.9)
XYZxyz(19.1906, 25.8156, 5.4105)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9521 #3B2195
analogous
#957521 #7B9521 #419521
triadic
#7B9521 #217B95 #95217B
tetradic
#7B9521 #219575 #3B2195 #952141
square
#7B9521 #219575 #3B2195 #952141
split-complementary
#7B9521 #214195 #752195
monochromatic
#28310B #526316 #7B9521 #A4C72C #BCDA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9521#FFFFFF#000000##000000
##7B95211.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)
#9E8C03
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9521;
/* rgb */ color: rgb(123, 149, 33);
/* oklch */ color: oklch(62.8% 0.140 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b466',
    500: '#7b9521',
    950: '#000000',
  },
}
SCSS
$custom: #7b9521;
$custom-light: #a5b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9521",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 73.448,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.13968,
    "h": 121.9
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#7B9521
secondary
#6C54BE
accent
#41E766
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9521

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

Preview Lab → · Contrast checker → · Palette generator →

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