#7C9F18#7C9F18

#7C9F18 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.3% C 0.155 H 124.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7C9F18
RGBrgb(124, 159, 24)
HSLhsl(76, 74%, 36%)
HSVhsv(76, 85%, 62%)
CMYKcmyk(22%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.91, -29.84, 59.17)
CIE-LCHlch(60.91, 66.27, 116.76°)
OKLaboklab(65.29% -0.0876 0.1284)
OKLCHoklch(65.29% 0.155 124.3)
XYZxyz(20.8754, 29.1471, 5.3901)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9F18 #3B189F
analogous
#9F7E18 #7C9F18 #389F18
triadic
#7C9F18 #187C9F #9F187C
tetradic
#7C9F18 #189F7E #3B189F #9F1838
square
#7C9F18 #189F7E #3B189F #9F1838
split-complementary
#7C9F18 #18389F #7E189F
monochromatic
#293508 #536A10 #7C9F18 #A5D420 #BDE44D

Accessibility & contrast

On white

3.07
#7C9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#7C9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9F18
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9F18#FFFFFF#000000##000000
##7C9F181.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9f18;
/* rgb */ color: rgb(124, 159, 24);
/* oklch */ color: oklch(65.3% 0.155 124.3);
Tailwind
colors: {
  custom: {
    50: '#a6bb64',
    500: '#7c9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7c9f18;
$custom-light: #a6bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9f18",
  "rgb": {
    "r": 124,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 75.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65293,
    "c": 0.15544,
    "h": 124.3
  },
  "luminance": 0.29147
}

Semantic roles & 50–950 ramp

primary
#7C9F18
secondary
#6C4DC6
accent
#37F067
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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