#7C9819#7C9819

#7C9819 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.147 H 122.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7C9819
RGBrgb(124, 152, 25)
HSLhsl(73, 72%, 35%)
HSVhsv(73, 84%, 60%)
CMYKcmyk(18.4%, 0%, 83.6%, 40.4%)
CIE-LABlab(58.80, -26.43, 57.08)
CIE-LCHlch(58.80, 62.90, 114.85°)
OKLaboklab(63.59% -0.0782 0.1241)
OKLCHoklch(63.59% 0.147 122.2)
XYZxyz(19.7162, 26.8117, 5.0560)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9819 #351998
analogous
#987419 #7C9819 #3D9819
triadic
#7C9819 #197C98 #98197C
tetradic
#7C9819 #199874 #351998 #98193D
square
#7C9819 #199874 #351998 #98193D
split-complementary
#7C9819 #193D98 #741998
monochromatic
#262F08 #516310 #7C9819 #A7CD22 #C0E14A

Accessibility & contrast

On white

3.30
#7C9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7C9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9819
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9819#FFFFFF#000000##000000
##7C98191.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#839081
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9819;
/* rgb */ color: rgb(124, 152, 25);
/* oklch */ color: oklch(63.6% 0.147 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b663',
    500: '#7c9819',
    950: '#000000',
  },
}
SCSS
$custom: #7c9819;
$custom-light: #a6b663;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9819",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 73.228,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.14671,
    "h": 122.2
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#7C9819
secondary
#654AC3
accent
#39EE61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9819

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

Preview Lab → · Contrast checker → · Palette generator →

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