#7CAA31#7CAA31

#7CAA31 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.1% C 0.156 H 128.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7CAA31
RGBrgb(124, 170, 49)
HSLhsl(83, 55%, 43%)
HSVhsv(83, 71%, 67%)
CMYKcmyk(27.1%, 0%, 71.2%, 33.3%)
CIE-LABlab(64.37, -33.75, 54.45)
CIE-LCHlch(64.37, 64.06, 121.79°)
OKLaboklab(68.14% -0.0964 0.1225)
OKLCHoklch(68.14% 0.156 128.2)
XYZxyz(23.2413, 33.2558, 8.0997)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA31 #5F31AA
analogous
#AA9B31 #7CAA31 #3FAA31
triadic
#7CAA31 #317CAA #AA317C
tetradic
#7CAA31 #31AA9B #5F31AA #AA313F
square
#7CAA31 #31AA9B #5F31AA #AA313F
split-complementary
#7CAA31 #313FAA #9B31AA
monochromatic
#374B16 #597A23 #7CAA31 #9BCC4D #B6D97C

Accessibility & contrast

On white

2.74
#7CAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7CAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAA31
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAA31#FFFFFF#000000##000000
##7CAA311.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#80A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa31;
/* rgb */ color: rgb(124, 170, 49);
/* oklch */ color: oklch(68.1% 0.156 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c371',
    500: '#7caa31',
    950: '#000000',
  },
}
SCSS
$custom: #7caa31;
$custom-light: #a6c371;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa31",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 82.81,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68138,
    "c": 0.15586,
    "h": 128.2
  },
  "luminance": 0.33256
}

Semantic roles & 50–950 ramp

primary
#7CAA31
secondary
#9275C2
accent
#49DF82
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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