#7CA828#7CA828

#7CA828 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.6% C 0.159 H 127.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7CA828
RGBrgb(124, 168, 40)
HSLhsl(81, 62%, 41%)
HSVhsv(81, 76%, 66%)
CMYKcmyk(26.2%, 0%, 76.2%, 34.1%)
CIE-LABlab(63.71, -33.36, 57.03)
CIE-LCHlch(63.71, 66.07, 120.33°)
OKLaboklab(67.58% -0.096 0.1265)
OKLCHoklch(67.58% 0.159 127.2)
XYZxyz(22.6979, 32.4431, 7.0734)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA828 #5428A8
analogous
#A89428 #7CA828 #3CA828
triadic
#7CA828 #287CA8 #A8287C
tetradic
#7CA828 #28A894 #5428A8 #A8283C
square
#7CA828 #28A894 #5428A8 #A8283C
split-complementary
#7CA828 #283CA8 #9428A8
monochromatic
#334510 #58771C #7CA828 #9ED13D #B6DC6E

Accessibility & contrast

On white

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

On black

7.49
#7CA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA828
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA828#FFFFFF#000000##000000
##7CA8281.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C09
Deuteranopia (green-blind)
#AB9935
Tritanopia (blue-blind)
#81A090
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca828;
/* rgb */ color: rgb(124, 168, 40);
/* oklch */ color: oklch(67.6% 0.159 127.2);
Tailwind
colors: {
  custom: {
    50: '#a6c26c',
    500: '#7ca828',
    950: '#000000',
  },
}
SCSS
$custom: #7ca828;
$custom-light: #a6c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca828",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 80.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.15881,
    "h": 127.2
  },
  "luminance": 0.32444
}

Semantic roles & 50–950 ramp

primary
#7CA828
secondary
#8869C3
accent
#43E57B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA828

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

Preview Lab → · Contrast checker → · Palette generator →

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