#7CA731#7CA731

#7CA731 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.4% C 0.152 H 127.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7CA731
RGBrgb(124, 167, 49)
HSLhsl(82, 55%, 42%)
HSVhsv(82, 71%, 65%)
CMYKcmyk(25.7%, 0%, 70.7%, 34.5%)
CIE-LABlab(63.46, -32.36, 53.54)
CIE-LCHlch(63.46, 62.55, 121.15°)
OKLaboklab(67.4% -0.0925 0.1206)
OKLCHoklch(67.4% 0.152 127.5)
XYZxyz(22.6853, 32.1438, 7.9143)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA731 #5C31A7
analogous
#A79731 #7CA731 #41A731
triadic
#7CA731 #317CA7 #A7317C
tetradic
#7CA731 #31A797 #5C31A7 #A73141
square
#7CA731 #31A797 #5C31A7 #A73141
split-complementary
#7CA731 #3141A7 #9731A7
monochromatic
#364815 #597823 #7CA731 #9CCA4B #B6D87A

Accessibility & contrast

On white

2.83
#7CA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7CA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA731
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA731#FFFFFF#000000##000000
##7CA7311.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#819F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca731;
/* rgb */ color: rgb(124, 167, 49);
/* oklch */ color: oklch(67.4% 0.152 127.5);
Tailwind
colors: {
  custom: {
    50: '#a5c170',
    500: '#7ca731',
    950: '#000000',
  },
}
SCSS
$custom: #7ca731;
$custom-light: #a5c170;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca731",
  "rgb": {
    "r": 124,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 81.864,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67403,
    "c": 0.152,
    "h": 127.5
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#7CA731
secondary
#8F73C1
accent
#4ADE80
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA731

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

Preview Lab → · Contrast checker → · Palette generator →

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