#7A9418#7A9418

#7A9418 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.143 H 121.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A9418
RGBrgb(122, 148, 24)
HSLhsl(73, 72%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(17.6%, 0%, 83.8%, 42%)
CIE-LABlab(57.45, -25.36, 56.11)
CIE-LCHlch(57.45, 61.57, 114.32°)
OKLaboklab(62.46% -0.0753 0.1219)
OKLCHoklch(62.46% 0.143 121.7)
XYZxyz(18.7811, 25.3833, 4.7740)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9418 #321894
analogous
#947018 #7A9418 #3C9418
triadic
#7A9418 #187A94 #94187A
tetradic
#7A9418 #189470 #321894 #94183C
square
#7A9418 #189470 #321894 #94183C
split-complementary
#7A9418 #183C94 #701894
monochromatic
#232B07 #4F5F0F #7A9418 #A5C921 #C0E145

Accessibility & contrast

On white

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

On black

6.08
#7A9418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9418
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9418#FFFFFF#000000##000000
##7A94181.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a9418;
/* rgb */ color: rgb(122, 148, 24);
/* oklch */ color: oklch(62.5% 0.143 121.7);
Tailwind
colors: {
  custom: {
    50: '#a4b362',
    500: '#7a9418',
    950: '#000000',
  },
}
SCSS
$custom: #7a9418;
$custom-light: #a4b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9418",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 24
  },
  "hsl": {
    "h": 72.581,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62455,
    "c": 0.1433,
    "h": 121.7
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#7A9418
secondary
#6046C2
accent
#39EF5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9418

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

Preview Lab → · Contrast checker → · Palette generator →

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