#7E9F18#7E9F18

#7E9F18 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.4% C 0.154 H 123.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E9F18
RGBrgb(126, 159, 24)
HSLhsl(75, 74%, 36%)
HSVhsv(75, 85%, 62%)
CMYKcmyk(20.8%, 0%, 84.9%, 37.6%)
CIE-LABlab(61.04, -29.01, 59.34)
CIE-LCHlch(61.04, 66.05, 116.06°)
OKLaboklab(65.43% -0.0854 0.1287)
OKLCHoklch(65.43% 0.154 123.6)
XYZxyz(21.1675, 29.2977, 5.4038)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F18 #39189F
analogous
#9F7C18 #7E9F18 #3A9F18
triadic
#7E9F18 #187E9F #9F187E
tetradic
#7E9F18 #189F7C #39189F #9F183A
square
#7E9F18 #189F7C #39189F #9F183A
split-complementary
#7E9F18 #183A9F #7C189F
monochromatic
#2A3508 #546A10 #7E9F18 #A8D420 #BFE44D

Accessibility & contrast

On white

3.06
#7E9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F18
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F18#FFFFFF#000000##000000
##7E9F181.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#859787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f18;
/* rgb */ color: rgb(126, 159, 24);
/* oklch */ color: oklch(65.4% 0.154 123.6);
Tailwind
colors: {
  custom: {
    50: '#a7bb64',
    500: '#7e9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f18;
$custom-light: #a7bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f18",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 74.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.15448,
    "h": 123.6
  },
  "luminance": 0.29298
}

Semantic roles & 50–950 ramp

primary
#7E9F18
secondary
#6A4DC6
accent
#37F065
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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