#7A9256#7A9256

#7A9256 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.6% C 0.089 H 126.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7A9256
RGBrgb(122, 146, 86)
HSLhsl(84, 26%, 45%)
HSVhsv(84, 41%, 57%)
CMYKcmyk(16.4%, 0%, 41.1%, 42.7%)
CIE-LABlab(57.43, -19.20, 29.03)
CIE-LCHlch(57.43, 34.80, 123.48°)
OKLaboklab(62.63% -0.0528 0.0711)
OKLCHoklch(62.63% 0.089 126.6)
XYZxyz(19.9845, 25.3670, 12.6458)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9256 #6E5692
analogous
#928C56 #7A9256 #5C9256
triadic
#7A9256 #567A92 #92567A
tetradic
#7A9256 #56928C #6E5692 #92565C
square
#7A9256 #56928C #6E5692 #92565C
split-complementary
#7A9256 #565C92 #8C5692
monochromatic
#3A4529 #5A6B3F #7A9256 #98AF77 #B5C59D

Accessibility & contrast

On white

3.46
#7A9256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7A9256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9256
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9256#FFFFFF#000000##000000
##7A92561.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B51
Deuteranopia (green-blind)
#948A59
Tritanopia (blue-blind)
#7D8D83
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a9256;
/* rgb */ color: rgb(122, 146, 86);
/* oklch */ color: oklch(62.6% 0.089 126.6);
Tailwind
colors: {
  custom: {
    50: '#a1b286',
    500: '#7a9256',
    950: '#000000',
  },
}
SCSS
$custom: #7a9256;
$custom-light: #a1b286;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9256",
  "rgb": {
    "r": 122,
    "g": 146,
    "b": 86
  },
  "hsl": {
    "h": 84,
    "s": 25.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.08854,
    "h": 126.6
  },
  "luminance": 0.25367
}

Semantic roles & 50–950 ramp

primary
#7A9256
secondary
#9F91B3
accent
#66C28B
background
#FAFAF8
surface
#F3F5EF
border
#CDCFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7A9256

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

Preview Lab → · Contrast checker → · Palette generator →

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