#7CA128#7CA128

#7CA128 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.150 H 125.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7CA128
RGBrgb(124, 161, 40)
HSLhsl(78, 60%, 39%)
HSVhsv(78, 75%, 63%)
CMYKcmyk(23%, 0%, 75.2%, 36.9%)
CIE-LABlab(61.59, -30.08, 55.00)
CIE-LCHlch(61.59, 62.69, 118.67°)
OKLaboklab(65.87% -0.0871 0.1222)
OKLCHoklch(65.87% 0.15 125.5)
XYZxyz(21.4402, 29.9277, 6.6541)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA128 #4D28A1
analogous
#A18A28 #7CA128 #40A128
triadic
#7CA128 #287CA1 #A1287C
tetradic
#7CA128 #28A18A #4D28A1 #A12840
square
#7CA128 #28A18A #4D28A1 #A12840
split-complementary
#7CA128 #2840A1 #8A28A1
monochromatic
#303F10 #56701C #7CA128 #A0CE39 #B8DA6A

Accessibility & contrast

On white

3.01
#7CA128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7CA128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA128
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA128#FFFFFF#000000##000000
##7CA1281.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#82998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca128;
/* rgb */ color: rgb(124, 161, 40);
/* oklch */ color: oklch(65.9% 0.150 125.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd6b',
    500: '#7ca128',
    950: '#000000',
  },
}
SCSS
$custom: #7ca128;
$custom-light: #a5bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca128",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 78.347,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.15009,
    "h": 125.5
  },
  "luminance": 0.29928
}

Semantic roles & 50–950 ramp

primary
#7CA128
secondary
#8165C0
accent
#44E375
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA128

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

Preview Lab → · Contrast checker → · Palette generator →

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