#7C9E16#7C9E16

#7C9E16 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.0% C 0.155 H 124.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7C9E16
RGBrgb(124, 158, 22)
HSLhsl(75, 76%, 35%)
HSVhsv(75, 86%, 62%)
CMYKcmyk(21.5%, 0%, 86.1%, 38%)
CIE-LABlab(60.60, -29.43, 59.38)
CIE-LCHlch(60.60, 66.28, 116.36°)
OKLaboklab(65.04% -0.0866 0.1286)
OKLCHoklch(65.04% 0.155 124)
XYZxyz(20.6841, 28.7965, 5.2275)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9E16 #38169E
analogous
#9E7C16 #7C9E16 #389E16
triadic
#7C9E16 #167C9E #9E167C
tetradic
#7C9E16 #169E7C #38169E #9E1638
square
#7C9E16 #169E7C #38169E #9E1638
split-complementary
#7C9E16 #16389E #7C169E
monochromatic
#283307 #52680F #7C9E16 #A6D41D #BEE649

Accessibility & contrast

On white

3.11
#7C9E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7C9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9E16
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9E16#FFFFFF#000000##000000
##7C9E161.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#839686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9e16;
/* rgb */ color: rgb(124, 158, 22);
/* oklch */ color: oklch(65.0% 0.155 124.0);
Tailwind
colors: {
  custom: {
    50: '#a6ba63',
    500: '#7c9e16',
    950: '#000000',
  },
}
SCSS
$custom: #7c9e16;
$custom-light: #a6ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9e16",
  "rgb": {
    "r": 124,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 75,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.155,
    "h": 124
  },
  "luminance": 0.28797
}

Semantic roles & 50–950 ramp

primary
#7C9E16
secondary
#6849C7
accent
#36F265
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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