#7C9D1C#7C9D1C

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

Color values

HEX#7C9D1C
RGBrgb(124, 157, 28)
HSLhsl(75, 70%, 36%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(21%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.32, -28.74, 57.61)
CIE-LCHlch(60.32, 64.38, 116.51°)
OKLaboklab(64.82% -0.0843 0.1257)
OKLCHoklch(64.82% 0.151 123.8)
XYZxyz(20.5790, 28.4827, 5.5119)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9D1C #3D1C9D
analogous
#9D7E1C #7C9D1C #3C9D1C
triadic
#7C9D1C #1C7C9D #9D1C7C
tetradic
#7C9D1C #1C9D7E #3D1C9D #9D1C3C
square
#7C9D1C #1C9D7E #3D1C9D #9D1C3C
split-complementary
#7C9D1C #1C3C9D #7E1C9D
monochromatic
#2A3509 #536913 #7C9D1C #A5D125 #BCE053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9D1C#FFFFFF#000000##000000
##7C9D1C1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c9d1c;
/* rgb */ color: rgb(124, 157, 28);
/* oklch */ color: oklch(64.8% 0.151 123.8);
Tailwind
colors: {
  custom: {
    50: '#a6ba65',
    500: '#7c9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #7c9d1c;
$custom-light: #a6ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9d1c",
  "rgb": {
    "r": 124,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 75.349,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64821,
    "c": 0.15139,
    "h": 123.8
  },
  "luminance": 0.28483
}

Semantic roles & 50–950 ramp

primary
#7C9D1C
secondary
#6F51C3
accent
#3BED69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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