#7A9518#7A9518

#7A9518 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.144 H 122.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A9518
RGBrgb(122, 149, 24)
HSLhsl(73, 72%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(18.1%, 0%, 83.9%, 41.6%)
CIE-LABlab(57.75, -25.85, 56.37)
CIE-LCHlch(57.75, 62.02, 114.63°)
OKLaboklab(62.7% -0.0766 0.1225)
OKLCHoklch(62.7% 0.144 122)
XYZxyz(18.9387, 25.6984, 4.8265)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9518 #331895
analogous
#957218 #7A9518 #3C9518
triadic
#7A9518 #187A95 #95187A
tetradic
#7A9518 #189572 #331895 #95183C
square
#7A9518 #189572 #331895 #95183C
split-complementary
#7A9518 #183C95 #721895
monochromatic
#242C07 #4F6010 #7A9518 #A5CA20 #C0E146

Accessibility & contrast

On white

3.42
#7A9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7A9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9518
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9518#FFFFFF#000000##000000
##7A95181.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9518;
/* rgb */ color: rgb(122, 149, 24);
/* oklch */ color: oklch(62.7% 0.144 122.0);
Tailwind
colors: {
  custom: {
    50: '#a4b463',
    500: '#7a9518',
    950: '#000000',
  },
}
SCSS
$custom: #7a9518;
$custom-light: #a4b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9518",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 72.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.627,
    "c": 0.14448,
    "h": 122
  },
  "luminance": 0.25698
}

Semantic roles & 50–950 ramp

primary
#7A9518
secondary
#6146C2
accent
#39EF60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9518

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

Preview Lab → · Contrast checker → · Palette generator →

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