#7C9732#7C9732

#7C9732 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.131 H 123.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7C9732
RGBrgb(124, 151, 50)
HSLhsl(76, 50%, 39%)
HSVhsv(76, 67%, 59%)
CMYKcmyk(17.9%, 0%, 66.9%, 40.8%)
CIE-LABlab(58.65, -24.59, 48.17)
CIE-LCHlch(58.65, 54.08, 117.04°)
OKLaboklab(63.51% -0.0711 0.1095)
OKLCHoklch(63.51% 0.131 123)
XYZxyz(19.9547, 26.6485, 7.1094)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9732 #4D3297
analogous
#978032 #7C9732 #499732
triadic
#7C9732 #327C97 #97327C
tetradic
#7C9732 #329780 #4D3297 #973249
square
#7C9732 #329780 #4D3297 #973249
split-complementary
#7C9732 #324997 #803297
monochromatic
#303B14 #566923 #7C9732 #A0C145 #B8D173

Accessibility & contrast

On white

3.32
#7C9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7C9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9732
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9732#FFFFFF#000000##000000
##7C97321.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#829082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9732;
/* rgb */ color: rgb(124, 151, 50);
/* oklch */ color: oklch(63.5% 0.131 123.0);
Tailwind
colors: {
  custom: {
    50: '#a5b56f',
    500: '#7c9732',
    950: '#000000',
  },
}
SCSS
$custom: #7c9732;
$custom-light: #a5b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9732",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 76.04,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.13051,
    "h": 123
  },
  "luminance": 0.26649
}

Semantic roles & 50–950 ramp

primary
#7C9732
secondary
#816CB9
accent
#4EDA73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7C9732

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

Preview Lab → · Contrast checker → · Palette generator →

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