#7CA631#7CA631

#7CA631 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.2% C 0.151 H 127.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7CA631
RGBrgb(124, 166, 49)
HSLhsl(82, 54%, 42%)
HSVhsv(82, 70%, 65%)
CMYKcmyk(25.3%, 0%, 70.5%, 34.9%)
CIE-LABlab(63.16, -31.89, 53.23)
CIE-LCHlch(63.16, 62.05, 120.93°)
OKLaboklab(67.16% -0.0913 0.1199)
OKLCHoklch(67.16% 0.151 127.3)
XYZxyz(22.5028, 31.7788, 7.8535)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA631 #5B31A6
analogous
#A69531 #7CA631 #42A631
triadic
#7CA631 #317CA6 #A6317C
tetradic
#7CA631 #31A695 #5B31A6 #A63142
square
#7CA631 #31A695 #5B31A6 #A63142
split-complementary
#7CA631 #3142A6 #9531A6
monochromatic
#354715 #597723 #7CA631 #9CCA4A #B6D87A

Accessibility & contrast

On white

2.85
#7CA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7CA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA631
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA631#FFFFFF#000000##000000
##7CA6311.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1E
Deuteranopia (green-blind)
#A9983B
Tritanopia (blue-blind)
#819E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ca631;
/* rgb */ color: rgb(124, 166, 49);
/* oklch */ color: oklch(67.2% 0.151 127.3);
Tailwind
colors: {
  custom: {
    50: '#a5c070',
    500: '#7ca631',
    950: '#000000',
  },
}
SCSS
$custom: #7ca631;
$custom-light: #a5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca631",
  "rgb": {
    "r": 124,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 81.538,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67158,
    "c": 0.15072,
    "h": 127.3
  },
  "luminance": 0.31779
}

Semantic roles & 50–950 ramp

primary
#7CA631
secondary
#8E73C0
accent
#4ADE7F
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA631

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

Preview Lab → · Contrast checker → · Palette generator →

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