#7B9225#7B9225

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

Color values

HEX#7B9225
RGBrgb(123, 146, 37)
HSLhsl(73, 60%, 36%)
HSVhsv(73, 75%, 57%)
CMYKcmyk(15.8%, 0%, 74.7%, 42.7%)
CIE-LABlab(56.98, -23.34, 51.60)
CIE-LCHlch(56.98, 56.63, 114.34°)
OKLaboklab(62.12% -0.0688 0.1146)
OKLCHoklch(62.12% 0.134 121)
XYZxyz(18.7815, 24.9023, 5.5671)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9225 #3C2592
analogous
#927225 #7B9225 #449225
triadic
#7B9225 #257B92 #92257B
tetradic
#7B9225 #259272 #3C2592 #922544
square
#7B9225 #259272 #3C2592 #922544
split-complementary
#7B9225 #254492 #722592
monochromatic
#29300C #526119 #7B9225 #A4C331 #BCD65C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9225#FFFFFF#000000##000000
##7B92251.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)
#9B890F
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#828A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9225;
/* rgb */ color: rgb(123, 146, 37);
/* oklch */ color: oklch(62.1% 0.134 121.0);
Tailwind
colors: {
  custom: {
    50: '#a4b268',
    500: '#7b9225',
    950: '#000000',
  },
}
SCSS
$custom: #7b9225;
$custom-light: #a4b268;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9225",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 72.661,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.13366,
    "h": 121
  },
  "luminance": 0.24902
}

Semantic roles & 50–950 ramp

primary
#7B9225
secondary
#6D58BA
accent
#45E366
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9225

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

Preview Lab → · Contrast checker → · Palette generator →

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