#7CA821#7CA821

#7CA821 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.162 H 126.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7CA821
RGBrgb(124, 168, 33)
HSLhsl(80, 67%, 39%)
HSVhsv(80, 80%, 66%)
CMYKcmyk(26.2%, 0%, 80.4%, 34.1%)
CIE-LABlab(63.67, -33.70, 59.19)
CIE-LCHlch(63.67, 68.11, 119.66°)
OKLaboklab(67.54% -0.0975 0.1299)
OKLCHoklch(67.54% 0.162 126.9)
XYZxyz(22.5894, 32.3997, 6.5022)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA821 #4D21A8
analogous
#A89121 #7CA821 #38A821
triadic
#7CA821 #217CA8 #A8217C
tetradic
#7CA821 #21A891 #4D21A8 #A82138
square
#7CA821 #21A891 #4D21A8 #A82138
split-complementary
#7CA821 #2138A8 #9121A8
monochromatic
#30420D #567517 #7CA821 #A0D630 #B8E063

Accessibility & contrast

On white

2.81
#7CA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7CA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA821
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA821#FFFFFF#000000##000000
##7CA8211.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#81A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca821;
/* rgb */ color: rgb(124, 168, 33);
/* oklch */ color: oklch(67.5% 0.162 126.9);
Tailwind
colors: {
  custom: {
    50: '#a6c269',
    500: '#7ca821',
    950: '#000000',
  },
}
SCSS
$custom: #7ca821;
$custom-light: #a6c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca821",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 79.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.1624,
    "h": 126.9
  },
  "luminance": 0.324
}

Semantic roles & 50–950 ramp

primary
#7CA821
secondary
#815FC5
accent
#3EEA76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA821

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

Preview Lab → · Contrast checker → · Palette generator →

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