#7CA921#7CA921

#7CA921 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.8% C 0.164 H 127.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7CA921
RGBrgb(124, 169, 33)
HSLhsl(80, 67%, 40%)
HSVhsv(80, 80%, 66%)
CMYKcmyk(26.6%, 0%, 80.5%, 33.7%)
CIE-LABlab(63.97, -34.16, 59.47)
CIE-LCHlch(63.97, 68.58, 119.88°)
OKLaboklab(67.79% -0.0987 0.1305)
OKLCHoklch(67.79% 0.164 127.1)
XYZxyz(22.7748, 32.7704, 6.5640)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA921 #4E21A9
analogous
#A99221 #7CA921 #38A921
triadic
#7CA921 #217CA9 #A9217C
tetradic
#7CA921 #21A992 #4E21A9 #A92138
square
#7CA921 #21A992 #4E21A9 #A92138
split-complementary
#7CA921 #2138A9 #9221A9
monochromatic
#31430D #567617 #7CA921 #A0D731 #B7E164

Accessibility & contrast

On white

2.78
#7CA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7CA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA921
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA921#FFFFFF#000000##000000
##7CA9211.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#81A190
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ca921;
/* rgb */ color: rgb(124, 169, 33);
/* oklch */ color: oklch(67.8% 0.164 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6c269',
    500: '#7ca921',
    950: '#000000',
  },
}
SCSS
$custom: #7ca921;
$custom-light: #a6c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca921",
  "rgb": {
    "r": 124,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 79.853,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6779,
    "c": 0.16363,
    "h": 127.1
  },
  "luminance": 0.32771
}

Semantic roles & 50–950 ramp

primary
#7CA921
secondary
#8260C6
accent
#3EEA77
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA921

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

Preview Lab → · Contrast checker → · Palette generator →

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