#7B9224#7B9224

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

Color values

HEX#7B9224
RGBrgb(123, 146, 36)
HSLhsl(73, 60%, 36%)
HSVhsv(73, 75%, 57%)
CMYKcmyk(15.8%, 0%, 75.3%, 42.7%)
CIE-LABlab(56.97, -23.39, 51.95)
CIE-LCHlch(56.97, 56.98, 114.24°)
OKLaboklab(62.11% -0.069 0.1152)
OKLCHoklch(62.11% 0.134 120.9)
XYZxyz(18.7660, 24.8961, 5.4855)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9224 #3B2492
analogous
#927224 #7B9224 #449224
triadic
#7B9224 #247B92 #92247B
tetradic
#7B9224 #249272 #3B2492 #922444
square
#7B9224 #249272 #3B2492 #922444
split-complementary
#7B9224 #244492 #722492
monochromatic
#28300C #526118 #7B9224 #A4C330 #BCD65A

Accessibility & contrast

On white

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

On black

5.98
#7B9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9224
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9224#FFFFFF#000000##000000
##7B92241.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890D
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#828A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9224;
/* rgb */ color: rgb(123, 146, 36);
/* oklch */ color: oklch(62.1% 0.134 120.9);
Tailwind
colors: {
  custom: {
    50: '#a4b267',
    500: '#7b9224',
    950: '#000000',
  },
}
SCSS
$custom: #7b9224;
$custom-light: #a4b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9224",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 72.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.13428,
    "h": 120.9
  },
  "luminance": 0.24896
}

Semantic roles & 50–950 ramp

primary
#7B9224
secondary
#6C57BB
accent
#44E466
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9224

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

Preview Lab → · Contrast checker → · Palette generator →

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