#7CA531#7CA531

#7CA531 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.149 H 127.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7CA531
RGBrgb(124, 165, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 65%)
CMYKcmyk(24.8%, 0%, 70.3%, 35.3%)
CIE-LABlab(62.86, -31.42, 52.92)
CIE-LCHlch(62.86, 61.55, 120.70°)
OKLaboklab(66.91% -0.09 0.1193)
OKLCHoklch(66.91% 0.149 127)
XYZxyz(22.3217, 31.4167, 7.7931)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA531 #5A31A5
analogous
#A59431 #7CA531 #42A531
triadic
#7CA531 #317CA5 #A5317C
tetradic
#7CA531 #31A594 #5A31A5 #A53142
square
#7CA531 #31A594 #5A31A5 #A53142
split-complementary
#7CA531 #3142A5 #9431A5
monochromatic
#354715 #597623 #7CA531 #9CC94A #B6D779

Accessibility & contrast

On white

2.88
#7CA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7CA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA531
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA531#FFFFFF#000000##000000
##7CA5311.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#A8973B
Tritanopia (blue-blind)
#819D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca531;
/* rgb */ color: rgb(124, 165, 49);
/* oklch */ color: oklch(66.9% 0.149 127.0);
Tailwind
colors: {
  custom: {
    50: '#a5c070',
    500: '#7ca531',
    950: '#000000',
  },
}
SCSS
$custom: #7ca531;
$custom-light: #a5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca531",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 81.207,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.14943,
    "h": 127
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#7CA531
secondary
#8E72C0
accent
#4ADE7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA531

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

Preview Lab → · Contrast checker → · Palette generator →

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