#7A9F18#7A9F18

#7A9F18 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.156 H 125.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A9F18
RGBrgb(122, 159, 24)
HSLhsl(76, 74%, 36%)
HSVhsv(76, 85%, 62%)
CMYKcmyk(23.3%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.78, -30.67, 59.01)
CIE-LCHlch(60.78, 66.50, 117.46°)
OKLaboklab(65.15% -0.0897 0.1281)
OKLCHoklch(65.15% 0.156 125)
XYZxyz(20.5893, 28.9995, 5.3767)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F18 #3D189F
analogous
#9F8018 #7A9F18 #379F18
triadic
#7A9F18 #187A9F #9F187A
tetradic
#7A9F18 #189F80 #3D189F #9F1837
square
#7A9F18 #189F80 #3D189F #9F1837
split-complementary
#7A9F18 #18379F #80189F
monochromatic
#283508 #516A10 #7A9F18 #A3D420 #BBE44D

Accessibility & contrast

On white

3.09
#7A9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7A9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9F18
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9F18#FFFFFF#000000##000000
##7A9F181.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#809787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f18;
/* rgb */ color: rgb(122, 159, 24);
/* oklch */ color: oklch(65.2% 0.156 125.0);
Tailwind
colors: {
  custom: {
    50: '#a5bb64',
    500: '#7a9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f18;
$custom-light: #a5bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f18",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 76.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.15642,
    "h": 125
  },
  "luminance": 0.29
}

Semantic roles & 50–950 ramp

primary
#7A9F18
secondary
#6E4DC6
accent
#37F06A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7A9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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