#7CA820#7CA820

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

Color values

HEX#7CA820
RGBrgb(124, 168, 32)
HSLhsl(79, 68%, 39%)
HSVhsv(79, 81%, 66%)
CMYKcmyk(26.2%, 0%, 81%, 34.1%)
CIE-LABlab(63.67, -33.74, 59.48)
CIE-LCHlch(63.67, 68.38, 119.57°)
OKLaboklab(67.54% -0.0976 0.1304)
OKLCHoklch(67.54% 0.163 126.8)
XYZxyz(22.5756, 32.3942, 6.4295)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA820 #4C20A8
analogous
#A89020 #7CA820 #38A820
triadic
#7CA820 #207CA8 #A8207C
tetradic
#7CA820 #20A890 #4C20A8 #A82038
square
#7CA820 #20A890 #4C20A8 #A82038
split-complementary
#7CA820 #2038A8 #9020A8
monochromatic
#30410C #567516 #7CA820 #A0D72E #B8E161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA820#FFFFFF#000000##000000
##7CA8201.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)
#AB992F
Tritanopia (blue-blind)
#81A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca820;
/* rgb */ color: rgb(124, 168, 32);
/* oklch */ color: oklch(67.5% 0.163 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6c269',
    500: '#7ca820',
    950: '#000000',
  },
}
SCSS
$custom: #7ca820;
$custom-light: #a6c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca820",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 79.412,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67539,
    "c": 0.16287,
    "h": 126.8
  },
  "luminance": 0.32395
}

Semantic roles & 50–950 ramp

primary
#7CA820
secondary
#805EC6
accent
#3DEB75
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA820

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

Preview Lab → · Contrast checker → · Palette generator →

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