#7A9628#7A9628

#7A9628 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.0% C 0.137 H 123.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A9628
RGBrgb(122, 150, 40)
HSLhsl(75, 58%, 37%)
HSVhsv(75, 73%, 59%)
CMYKcmyk(18.7%, 0%, 73.3%, 41.2%)
CIE-LABlab(58.14, -25.58, 51.59)
CIE-LCHlch(58.14, 57.59, 116.38°)
OKLaboklab(63.04% -0.0746 0.1151)
OKLCHoklch(63.04% 0.137 123)
XYZxyz(19.3156, 26.1034, 6.0279)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9628 #442896
analogous
#967B28 #7A9628 #439628
triadic
#7A9628 #287A96 #96287A
tetradic
#7A9628 #28967B #442896 #962843
square
#7A9628 #28967B #442896 #962843
split-complementary
#7A9628 #284396 #7B2896
monochromatic
#2B350E #53661B #7A9628 #A1C635 #B8D563

Accessibility & contrast

On white

3.38
#7A9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7A9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9628
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9628#FFFFFF#000000##000000
##7A96281.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C14
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#808E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9628;
/* rgb */ color: rgb(122, 150, 40);
/* oklch */ color: oklch(63.0% 0.137 123.0);
Tailwind
colors: {
  custom: {
    50: '#a4b56a',
    500: '#7a9628',
    950: '#000000',
  },
}
SCSS
$custom: #7a9628;
$custom-light: #a4b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9628",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 75.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.13721,
    "h": 123
  },
  "luminance": 0.26103
}

Semantic roles & 50–950 ramp

primary
#7A9628
secondary
#765FBB
accent
#47E16E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9628

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

Preview Lab → · Contrast checker → · Palette generator →

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