#7C9D1E#7C9D1E

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

Color values

HEX#7C9D1E
RGBrgb(124, 157, 30)
HSLhsl(76, 68%, 37%)
HSVhsv(76, 81%, 62%)
CMYKcmyk(21%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.33, -28.66, 57.04)
CIE-LCHlch(60.33, 63.84, 116.67°)
OKLaboklab(64.83% -0.084 0.1249)
OKLCHoklch(64.83% 0.15 123.9)
XYZxyz(20.6037, 28.4926, 5.6422)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D1E #3F1E9D
analogous
#9D7F1E #7C9D1E #3C9D1E
triadic
#7C9D1E #1E7C9D #9D1E7C
tetradic
#7C9D1E #1E9D7F #3F1E9D #9D1E3C
square
#7C9D1E #1E9D7F #3F1E9D #9D1E3C
split-complementary
#7C9D1E #1E3C9D #7F1E9D
monochromatic
#2B360A #536A14 #7C9D1E #A5D028 #BBDF57

Accessibility & contrast

On white

3.13
#7C9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7C9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9D1E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9D1E#FFFFFF#000000##000000
##7C9D1E1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9d1e;
/* rgb */ color: rgb(124, 157, 30);
/* oklch */ color: oklch(64.8% 0.150 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6ba66',
    500: '#7c9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d1e;
$custom-light: #a6ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d1e",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 75.591,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.15047,
    "h": 123.9
  },
  "luminance": 0.28493
}

Semantic roles & 50–950 ramp

primary
#7C9D1E
secondary
#7154C2
accent
#3DEB6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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