#7C9929#7C9929

#7C9929 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.139 H 123.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C9929
RGBrgb(124, 153, 41)
HSLhsl(76, 58%, 38%)
HSVhsv(76, 73%, 60%)
CMYKcmyk(19%, 0%, 73.2%, 40%)
CIE-LABlab(59.18, -26.16, 52.30)
CIE-LCHlch(59.18, 58.48, 116.58°)
OKLaboklab(63.92% -0.0763 0.1167)
OKLCHoklch(63.92% 0.139 123.2)
XYZxyz(20.1039, 27.2275, 6.2937)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9929 #462999
analogous
#997E29 #7C9929 #449929
triadic
#7C9929 #297C99 #99297C
tetradic
#7C9929 #29997E #462999 #992944
square
#7C9929 #29997E #462999 #992944
split-complementary
#7C9929 #294499 #7E2999
monochromatic
#2E380F #55691C #7C9929 #A3C936 #B9D666

Accessibility & contrast

On white

3.26
#7C9929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7C9929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9929
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9929#FFFFFF#000000##000000
##7C99291.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#829183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c9929;
/* rgb */ color: rgb(124, 153, 41);
/* oklch */ color: oklch(63.9% 0.139 123.2);
Tailwind
colors: {
  custom: {
    50: '#a5b76b',
    500: '#7c9929',
    950: '#000000',
  },
}
SCSS
$custom: #7c9929;
$custom-light: #a5b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9929",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 75.536,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63923,
    "c": 0.13943,
    "h": 123.2
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#7C9929
secondary
#7962BC
accent
#47E16F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9929

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

Preview Lab → · Contrast checker → · Palette generator →

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