#A4C842#A4C842

#A4C842 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 78.1% C 0.163 H 123.2°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#A4C842
RGBrgb(164, 200, 66)
HSLhsl(76, 55%, 52%)
HSVhsv(76, 67%, 78%)
CMYKcmyk(18%, 0%, 67%, 21.6%)
CIE-LABlab(75.82, -30.86, 60.39)
CIE-LCHlch(75.82, 67.82, 117.07°)
OKLaboklab(78.1% -0.0894 0.1366)
OKLCHoklch(78.1% 0.163 123.2)
XYZxyz(36.9479, 49.5942, 12.7793)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4C842 #6642C8
analogous
#C8A942 #A4C842 #61C842
triadic
#A4C842 #42A4C8 #C842A4
tetradic
#A4C842 #42C8A9 #6642C8 #C84261
square
#A4C842 #42C8A9 #6642C8 #C84261
split-complementary
#A4C842 #4261C8 #A942C8
monochromatic
#5A6F20 #809F2E #A4C842 #BBD671 #D2E4A1

Accessibility & contrast

On white

1.92
#A4C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#A4C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4C842
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4C842#FFFFFF#000000##000000
##A4C8421.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#ACBEAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a4c842;
/* rgb */ color: rgb(164, 200, 66);
/* oklch */ color: oklch(78.1% 0.163 123.2);
Tailwind
colors: {
  custom: {
    50: '#c2d87d',
    500: '#a4c842',
    950: '#000000',
  },
}
SCSS
$custom: #a4c842;
$custom-light: #c2d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4c842",
  "rgb": {
    "r": 164,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 76.119,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.781,
    "c": 0.16327,
    "h": 123.2
  },
  "luminance": 0.49594
}

Semantic roles & 50–950 ramp

primary
#A4C842
secondary
#A596D0
accent
#4ADE71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A4C842

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

Preview Lab → · Contrast checker → · Palette generator →

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