#7CAC31#7CAC31

#7CAC31 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.6% C 0.158 H 128.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7CAC31
RGBrgb(124, 172, 49)
HSLhsl(83, 56%, 43%)
HSVhsv(83, 72%, 67%)
CMYKcmyk(27.9%, 0%, 71.5%, 32.5%)
CIE-LABlab(64.97, -34.67, 55.06)
CIE-LCHlch(64.97, 65.06, 122.20°)
OKLaboklab(68.63% -0.0989 0.1238)
OKLCHoklch(68.63% 0.158 128.6)
XYZxyz(23.6190, 34.0113, 8.2256)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAC31 #6131AC
analogous
#AC9E31 #7CAC31 #3EAC31
triadic
#7CAC31 #317CAC #AC317C
tetradic
#7CAC31 #31AC9E #6131AC #AC313E
square
#7CAC31 #31AC9E #6131AC #AC313E
split-complementary
#7CAC31 #313EAC #9E31AC
monochromatic
#374D16 #5A7C23 #7CAC31 #9BCC4E #B6DA7D

Accessibility & contrast

On white

2.69
#7CAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7CAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAC31
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAC31#FFFFFF#000000##000000
##7CAC311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01C
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#80A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cac31;
/* rgb */ color: rgb(124, 172, 49);
/* oklch */ color: oklch(68.6% 0.158 128.6);
Tailwind
colors: {
  custom: {
    50: '#a6c571',
    500: '#7cac31',
    950: '#000000',
  },
}
SCSS
$custom: #7cac31;
$custom-light: #a6c571;
$custom-dark: #000000;
JSON
{
  "hex": "#7cac31",
  "rgb": {
    "r": 124,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 83.415,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.15842,
    "h": 128.6
  },
  "luminance": 0.34012
}

Semantic roles & 50–950 ramp

primary
#7CAC31
secondary
#9476C3
accent
#49DF83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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