#7A9225#7A9225

#7A9225 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.134 H 121.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7A9225
RGBrgb(122, 146, 37)
HSLhsl(73, 60%, 36%)
HSVhsv(73, 75%, 57%)
CMYKcmyk(16.4%, 0%, 74.7%, 42.7%)
CIE-LABlab(56.91, -23.77, 51.50)
CIE-LCHlch(56.91, 56.72, 114.77°)
OKLaboklab(62.04% -0.0699 0.1144)
OKLCHoklch(62.04% 0.134 121.4)
XYZxyz(18.6391, 24.8289, 5.5604)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9225 #3D2592
analogous
#927325 #7A9225 #439225
triadic
#7A9225 #257A92 #92257A
tetradic
#7A9225 #259273 #3D2592 #922543
square
#7A9225 #259273 #3D2592 #922543
split-complementary
#7A9225 #254392 #732592
monochromatic
#28300C #516119 #7A9225 #A3C331 #BBD65C

Accessibility & contrast

On white

3.52
#7A9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9225#FFFFFF#000000##000000
##7A92251.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890F
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#818A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a9225;
/* rgb */ color: rgb(122, 146, 37);
/* oklch */ color: oklch(62.0% 0.134 121.4);
Tailwind
colors: {
  custom: {
    50: '#a4b268',
    500: '#7a9225',
    950: '#000000',
  },
}
SCSS
$custom: #7a9225;
$custom-light: #a4b268;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9225",
  "rgb": {
    "r": 122,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 73.211,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.1341,
    "h": 121.4
  },
  "luminance": 0.24829
}

Semantic roles & 50–950 ramp

primary
#7A9225
secondary
#6E58BA
accent
#45E368
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A9225

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

Preview Lab → · Contrast checker → · Palette generator →

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