#7CA428#7CA428

#7CA428 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.154 H 126.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7CA428
RGBrgb(124, 164, 40)
HSLhsl(79, 61%, 40%)
HSVhsv(79, 76%, 64%)
CMYKcmyk(24.4%, 0%, 75.6%, 35.7%)
CIE-LABlab(62.50, -31.50, 55.87)
CIE-LCHlch(62.50, 64.14, 119.41°)
OKLaboklab(66.6% -0.0909 0.1241)
OKLCHoklch(66.6% 0.154 126.2)
XYZxyz(21.9708, 30.9888, 6.8310)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA428 #5028A4
analogous
#A48E28 #7CA428 #3EA428
triadic
#7CA428 #287CA4 #A4287C
tetradic
#7CA428 #28A48E #5028A4 #A4283E
square
#7CA428 #28A48E #5028A4 #A4283E
split-complementary
#7CA428 #283EA4 #8E28A4
monochromatic
#324210 #57731C #7CA428 #9FCF3A #B7DB6B

Accessibility & contrast

On white

2.92
#7CA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7CA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA428
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA428#FFFFFF#000000##000000
##7CA4281.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990C
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#819C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca428;
/* rgb */ color: rgb(124, 164, 40);
/* oklch */ color: oklch(66.6% 0.154 126.2);
Tailwind
colors: {
  custom: {
    50: '#a6bf6c',
    500: '#7ca428',
    950: '#000000',
  },
}
SCSS
$custom: #7ca428;
$custom-light: #a6bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca428",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 79.355,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.15384,
    "h": 126.2
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#7CA428
secondary
#8466C1
accent
#44E478
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA428

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

Preview Lab → · Contrast checker → · Palette generator →

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