#7A9626#7A9626

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

Color values

HEX#7A9626
RGBrgb(122, 150, 38)
HSLhsl(75, 60%, 37%)
HSVhsv(75, 75%, 59%)
CMYKcmyk(18.7%, 0%, 74.7%, 41.2%)
CIE-LABlab(58.12, -25.70, 52.31)
CIE-LCHlch(58.12, 58.29, 116.16°)
OKLaboklab(63.02% -0.0751 0.1163)
OKLCHoklch(63.02% 0.138 122.9)
XYZxyz(19.2825, 26.0901, 5.8534)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9626 #422696
analogous
#967A26 #7A9626 #429626
triadic
#7A9626 #267A96 #96267A
tetradic
#7A9626 #26967A #422696 #962642
square
#7A9626 #26967A #422696 #962642
split-complementary
#7A9626 #264296 #7A2696
monochromatic
#2B340D #52651A #7A9626 #A2C732 #B9D760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9626#FFFFFF#000000##000000
##7A96261.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)
#9F8C0F
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#808E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9626;
/* rgb */ color: rgb(122, 150, 38);
/* oklch */ color: oklch(63.0% 0.138 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b569',
    500: '#7a9626',
    950: '#000000',
  },
}
SCSS
$custom: #7a9626;
$custom-light: #a4b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9626",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 75,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.13846,
    "h": 122.9
  },
  "luminance": 0.2609
}

Semantic roles & 50–950 ramp

primary
#7A9626
secondary
#745CBC
accent
#45E36C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9626

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

Preview Lab → · Contrast checker → · Palette generator →

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