#7C9C1D#7C9C1D

#7C9C1D is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.6% C 0.150 H 123.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C9C1D
RGBrgb(124, 156, 29)
HSLhsl(75, 69%, 36%)
HSVhsv(75, 81%, 61%)
CMYKcmyk(20.5%, 0%, 81.4%, 38.8%)
CIE-LABlab(60.02, -28.22, 57.06)
CIE-LCHlch(60.02, 63.65, 116.31°)
OKLaboklab(64.58% -0.0828 0.1247)
OKLCHoklch(64.58% 0.15 123.6)
XYZxyz(20.4227, 28.1506, 5.5198)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9C1D #3D1D9C
analogous
#9C7D1D #7C9C1D #3D9C1D
triadic
#7C9C1D #1D7C9C #9C1D7C
tetradic
#7C9C1D #1D9C7D #3D1D9C #9C1D3D
square
#7C9C1D #1D9C7D #3D1D9C #9C1D3D
split-complementary
#7C9C1D #1D3D9C #7D1D9C
monochromatic
#2A350A #536813 #7C9C1D #A5D027 #BCDF54

Accessibility & contrast

On white

3.17
#7C9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7C9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9C1D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9C1D#FFFFFF#000000##000000
##7C9C1D1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#839485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c9c1d;
/* rgb */ color: rgb(124, 156, 29);
/* oklch */ color: oklch(64.6% 0.150 123.6);
Tailwind
colors: {
  custom: {
    50: '#a6b966',
    500: '#7c9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7c9c1d;
$custom-light: #a6b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9c1d",
  "rgb": {
    "r": 124,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 75.118,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.14973,
    "h": 123.6
  },
  "luminance": 0.28151
}

Semantic roles & 50–950 ramp

primary
#7C9C1D
secondary
#6F52C2
accent
#3CEB68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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