#7A9728#7A9728

#7A9728 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.138 H 123.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7A9728
RGBrgb(122, 151, 40)
HSLhsl(76, 58%, 37%)
HSVhsv(76, 74%, 59%)
CMYKcmyk(19.2%, 0%, 73.5%, 40.8%)
CIE-LABlab(58.44, -26.08, 51.89)
CIE-LCHlch(58.44, 58.07, 116.68°)
OKLaboklab(63.28% -0.076 0.1158)
OKLCHoklch(63.28% 0.138 123.3)
XYZxyz(19.4759, 26.4239, 6.0813)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9728 #452897
analogous
#977D28 #7A9728 #429728
triadic
#7A9728 #287A97 #97287A
tetradic
#7A9728 #28977D #452897 #972842
square
#7A9728 #28977D #452897 #972842
split-complementary
#7A9728 #284297 #7D2897
monochromatic
#2C360E #53671B #7A9728 #A1C735 #B8D664

Accessibility & contrast

On white

3.34
#7A9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7A9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9728
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9728#FFFFFF#000000##000000
##7A97281.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#808F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9728;
/* rgb */ color: rgb(122, 151, 40);
/* oklch */ color: oklch(63.3% 0.138 123.3);
Tailwind
colors: {
  custom: {
    50: '#a4b56a',
    500: '#7a9728',
    950: '#000000',
  },
}
SCSS
$custom: #7a9728;
$custom-light: #a4b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9728",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 75.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.13847,
    "h": 123.3
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#7A9728
secondary
#775FBC
accent
#46E16F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9728

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

Preview Lab → · Contrast checker → · Palette generator →

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