#A4C040#A4C040

#A4C040 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.2% C 0.155 H 120.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#A4C040
RGBrgb(164, 192, 64)
HSLhsl(73, 50%, 50%)
HSVhsv(73, 67%, 75%)
CMYKcmyk(14.6%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.52, -27.19, 58.80)
CIE-LCHlch(73.52, 64.78, 114.82°)
OKLaboklab(76.24% -0.0794 0.133)
OKLCHoklch(76.24% 0.155 120.8)
XYZxyz(35.0854, 45.9620, 11.8727)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4C040 #5C40C0
analogous
#C09C40 #A4C040 #64C040
triadic
#A4C040 #40A4C0 #C040A4
tetradic
#A4C040 #40C09C #5C40C0 #C04064
square
#A4C040 #40C09C #5C40C0 #C04064
split-complementary
#A4C040 #4064C0 #9C40C0
monochromatic
#566421 #7D9230 #A4C040 #BACF6E #D0DE9C

Accessibility & contrast

On white

2.06
#A4C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#A4C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4C040
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4C040#FFFFFF#000000##000000
##A4C0401.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#ADB6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a4c040;
/* rgb */ color: rgb(164, 192, 64);
/* oklch */ color: oklch(76.2% 0.155 120.8);
Tailwind
colors: {
  custom: {
    50: '#c2d37c',
    500: '#a4c040',
    950: '#000000',
  },
}
SCSS
$custom: #a4c040;
$custom-light: #c2d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4c040",
  "rgb": {
    "r": 164,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 73.125,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76242,
    "c": 0.15489,
    "h": 120.8
  },
  "luminance": 0.45962
}

Semantic roles & 50–950 ramp

primary
#A4C040
secondary
#9E91CB
accent
#4EDA6D
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A4C040

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

Preview Lab → · Contrast checker → · Palette generator →

#A4C040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva