#7CA931#7CA931

#7CA931 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 67.9% C 0.155 H 128.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7CA931
RGBrgb(124, 169, 49)
HSLhsl(83, 55%, 43%)
HSVhsv(83, 71%, 66%)
CMYKcmyk(26.6%, 0%, 71%, 33.7%)
CIE-LABlab(64.07, -33.29, 54.15)
CIE-LCHlch(64.07, 63.56, 121.58°)
OKLaboklab(67.89% -0.0951 0.1219)
OKLCHoklch(67.89% 0.155 128)
XYZxyz(23.0545, 32.8823, 8.0374)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA931 #5E31A9
analogous
#A99A31 #7CA931 #40A931
triadic
#7CA931 #317CA9 #A9317C
tetradic
#7CA931 #31A99A #5E31A9 #A93140
square
#7CA931 #31A99A #5E31A9 #A93140
split-complementary
#7CA931 #3140A9 #9A31A9
monochromatic
#364A15 #597A23 #7CA931 #9BCB4C #B6D97C

Accessibility & contrast

On white

2.77
#7CA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#7CA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA931
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA931#FFFFFF#000000##000000
##7CA9311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#AB9A3B
Tritanopia (blue-blind)
#80A191
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ca931;
/* rgb */ color: rgb(124, 169, 49);
/* oklch */ color: oklch(67.9% 0.155 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c271',
    500: '#7ca931',
    950: '#000000',
  },
}
SCSS
$custom: #7ca931;
$custom-light: #a6c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca931",
  "rgb": {
    "r": 124,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 82.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.15458,
    "h": 128
  },
  "luminance": 0.32883
}

Semantic roles & 50–950 ramp

primary
#7CA931
secondary
#9174C1
accent
#49DE81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA931

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

Preview Lab → · Contrast checker → · Palette generator →

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