#A4C21F#A4C21F

#A4C21F is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.5% C 0.175 H 120.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#A4C21F
RGBrgb(164, 194, 31)
HSLhsl(71, 72%, 44%)
HSVhsv(71, 84%, 76%)
CMYKcmyk(15.5%, 0%, 84%, 23.9%)
CIE-LABlab(73.92, -29.71, 69.72)
CIE-LCHlch(73.92, 75.78, 113.08°)
OKLaboklab(76.51% -0.0889 0.1508)
OKLCHoklch(76.51% 0.175 120.5)
XYZxyz(34.8497, 46.5751, 8.4500)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4C21F #3D1FC2
analogous
#C28F1F #A4C21F #53C21F
triadic
#A4C21F #1FA4C2 #C21FA4
tetradic
#A4C21F #1FC28F #3D1FC2 #C21F53
square
#A4C21F #1FC28F #3D1FC2 #C21F53
split-complementary
#A4C21F #1F53C2 #8F1FC2
monochromatic
#4B580E #778D17 #A4C21F #C2E03E #D3E973

Accessibility & contrast

On white

2.04
#A4C21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#A4C21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4C21F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4C21F#FFFFFF#000000##000000
##A4C21F1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#AEB7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a4c21f;
/* rgb */ color: rgb(164, 194, 31);
/* oklch */ color: oklch(76.5% 0.175 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d46d',
    500: '#a4c21f',
    950: '#000000',
  },
}
SCSS
$custom: #a4c21f;
$custom-light: #c3d46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4c21f",
  "rgb": {
    "r": 164,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 71.043,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76505,
    "c": 0.17502,
    "h": 120.5
  },
  "luminance": 0.46575
}

Semantic roles & 50–950 ramp

primary
#A4C21F
secondary
#7F6DCF
accent
#39EF5A
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A4C21F

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

Preview Lab → · Contrast checker → · Palette generator →

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