#7CA831#7CA831

#7CA831 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.6% C 0.153 H 127.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7CA831
RGBrgb(124, 168, 49)
HSLhsl(82, 55%, 43%)
HSVhsv(82, 71%, 66%)
CMYKcmyk(26.2%, 0%, 70.8%, 34.1%)
CIE-LABlab(63.76, -32.82, 53.84)
CIE-LCHlch(63.76, 63.06, 121.37°)
OKLaboklab(67.65% -0.0938 0.1212)
OKLCHoklch(67.65% 0.153 127.7)
XYZxyz(22.8692, 32.5116, 7.9756)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA831 #5D31A8
analogous
#A89931 #7CA831 #40A831
triadic
#7CA831 #317CA8 #A8317C
tetradic
#7CA831 #31A899 #5D31A8 #A83140
square
#7CA831 #31A899 #5D31A8 #A83140
split-complementary
#7CA831 #3140A8 #9931A8
monochromatic
#364915 #597923 #7CA831 #9CCB4C #B6D87B

Accessibility & contrast

On white

2.80
#7CA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#7CA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA831
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA831#FFFFFF#000000##000000
##7CA8311.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#AA9A3B
Tritanopia (blue-blind)
#80A090
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca831;
/* rgb */ color: rgb(124, 168, 49);
/* oklch */ color: oklch(67.6% 0.153 127.7);
Tailwind
colors: {
  custom: {
    50: '#a5c271',
    500: '#7ca831',
    950: '#000000',
  },
}
SCSS
$custom: #7ca831;
$custom-light: #a5c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca831",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 82.185,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.1533,
    "h": 127.7
  },
  "luminance": 0.32512
}

Semantic roles & 50–950 ramp

primary
#7CA831
secondary
#9074C1
accent
#4ADE81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA831

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

Preview Lab → · Contrast checker → · Palette generator →

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