#7C9D19#7C9D19

#7C9D19 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.153 H 123.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C9D19
RGBrgb(124, 157, 25)
HSLhsl(75, 73%, 36%)
HSVhsv(75, 84%, 62%)
CMYKcmyk(21%, 0%, 84.1%, 38.4%)
CIE-LABlab(60.31, -28.85, 58.40)
CIE-LCHlch(60.31, 65.14, 116.29°)
OKLaboklab(64.81% -0.0848 0.1269)
OKLCHoklch(64.81% 0.153 123.8)
XYZxyz(20.5449, 28.4690, 5.3322)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D19 #3A199D
analogous
#9D7C19 #7C9D19 #3A9D19
triadic
#7C9D19 #197C9D #9D197C
tetradic
#7C9D19 #199D7C #3A199D #9D193A
square
#7C9D19 #199D7C #3A199D #9D193A
split-complementary
#7C9D19 #193A9D #7C199D
monochromatic
#293308 #526811 #7C9D19 #A6D221 #BDE34E

Accessibility & contrast

On white

3.14
#7C9D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7C9D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9D19
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9D19#FFFFFF#000000##000000
##7C9D191.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#839586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c9d19;
/* rgb */ color: rgb(124, 157, 25);
/* oklch */ color: oklch(64.8% 0.153 123.8);
Tailwind
colors: {
  custom: {
    50: '#a6ba64',
    500: '#7c9d19',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d19;
$custom-light: #a6ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d19",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 25
  },
  "hsl": {
    "h": 75,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64807,
    "c": 0.15266,
    "h": 123.8
  },
  "luminance": 0.28469
}

Semantic roles & 50–950 ramp

primary
#7C9D19
secondary
#6B4DC5
accent
#39EF66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9D19

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

Preview Lab → · Contrast checker → · Palette generator →

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