#7C9E15#7C9E15

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

Color values

HEX#7C9E15
RGBrgb(124, 158, 21)
HSLhsl(75, 77%, 35%)
HSVhsv(75, 87%, 62%)
CMYKcmyk(21.5%, 0%, 86.7%, 38%)
CIE-LABlab(60.60, -29.46, 59.61)
CIE-LCHlch(60.60, 66.49, 116.30°)
OKLaboklab(65.04% -0.0867 0.1289)
OKLCHoklch(65.04% 0.155 123.9)
XYZxyz(20.6747, 28.7928, 5.1777)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9E15 #37159E
analogous
#9E7C15 #7C9E15 #379E15
triadic
#7C9E15 #157C9E #9E157C
tetradic
#7C9E15 #159E7C #37159E #9E1537
square
#7C9E15 #159E7C #37159E #9E1537
split-complementary
#7C9E15 #15379E #7C159E
monochromatic
#273207 #52680E #7C9E15 #A6D41C #BFE747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9E15#FFFFFF#000000##000000
##7C9E151.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)
#A89300
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#839686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7c9e15;
/* rgb */ color: rgb(124, 158, 21);
/* oklch */ color: oklch(65.0% 0.155 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6ba63',
    500: '#7c9e15',
    950: '#000000',
  },
}
SCSS
$custom: #7c9e15;
$custom-light: #a6ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9e15",
  "rgb": {
    "r": 124,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 74.891,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.15535,
    "h": 123.9
  },
  "luminance": 0.28793
}

Semantic roles & 50–950 ramp

primary
#7C9E15
secondary
#6747C7
accent
#35F364
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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