#A9B42A#A9B42A

#A9B42A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.153 H 114.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A9B42A
RGBrgb(169, 180, 42)
HSLhsl(65, 62%, 44%)
HSVhsv(65, 77%, 71%)
CMYKcmyk(6.1%, 0%, 76.7%, 29.4%)
CIE-LABlab(70.35, -20.40, 63.71)
CIE-LCHlch(70.35, 66.90, 107.76°)
OKLaboklab(73.74% -0.0628 0.1396)
OKLCHoklch(73.74% 0.153 114.2)
XYZxyz(33.1024, 41.2454, 8.4074)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B42A #352AB4
analogous
#B47A2A #A9B42A #64B42A
triadic
#A9B42A #2AA9B4 #B42AA9
tetradic
#A9B42A #2AB47A #352AB4 #B42A64
square
#A9B42A #2AB47A #352AB4 #B42A64
split-complementary
#A9B42A #2A64B4 #7A2AB4
monochromatic
#4C5113 #7A821E #A9B42A #C9D447 #D7E079

Accessibility & contrast

On white

2.27
#A9B42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#A9B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B42A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B42A#FFFFFF#000000##000000
##A9B42A1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB03
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B4A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a9b42a;
/* rgb */ color: rgb(169, 180, 42);
/* oklch */ color: oklch(73.7% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6ca6f',
    500: '#a9b42a',
    950: '#000000',
  },
}
SCSS
$custom: #a9b42a;
$custom-light: #c6ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b42a",
  "rgb": {
    "r": 169,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 64.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73739,
    "c": 0.15308,
    "h": 114.2
  },
  "luminance": 0.41245
}

Semantic roles & 50–950 ramp

primary
#A9B42A
secondary
#7972C8
accent
#43E550
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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