#A4B42E#A4B42E

#A4B42E is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.153 H 116.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#A4B42E
RGBrgb(164, 180, 46)
HSLhsl(67, 59%, 44%)
HSVhsv(67, 74%, 71%)
CMYKcmyk(8.9%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.99, -22.35, 61.94)
CIE-LCHlch(69.99, 65.84, 109.84°)
OKLaboklab(73.36% -0.0676 0.1367)
OKLCHoklch(73.36% 0.153 116.3)
XYZxyz(32.1251, 40.7327, 8.7541)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B42E #3E2EB4
analogous
#B4812E #A4B42E #61B42E
triadic
#A4B42E #2EA4B4 #B42EA4
tetradic
#A4B42E #2EB481 #3E2EB4 #B42E61
square
#A4B42E #2EB481 #3E2EB4 #B42E61
split-complementary
#A4B42E #2E61B4 #812EB4
monochromatic
#4B5315 #788322 #A4B42E #C2D24E #D3DE7E

Accessibility & contrast

On white

2.30
#A4B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#A4B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B42E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B42E#FFFFFF#000000##000000
##A4B42E1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA10
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#AFAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b42e;
/* rgb */ color: rgb(164, 180, 46);
/* oklch */ color: oklch(73.4% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c2ca71',
    500: '#a4b42e',
    950: '#000000',
  },
}
SCSS
$custom: #a4b42e;
$custom-light: #c2ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b42e",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 67.164,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73363,
    "c": 0.15251,
    "h": 116.3
  },
  "luminance": 0.40732
}

Semantic roles & 50–950 ramp

primary
#A4B42E
secondary
#8177C7
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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