#A9B228#A9B228

#A9B228 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.152 H 113.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A9B228
RGBrgb(169, 178, 40)
HSLhsl(64, 63%, 43%)
HSVhsv(64, 78%, 70%)
CMYKcmyk(5.1%, 0%, 77.5%, 30.2%)
CIE-LABlab(69.77, -19.48, 63.81)
CIE-LCHlch(69.77, 66.72, 106.98°)
OKLaboklab(73.28% -0.0604 0.1394)
OKLCHoklch(73.28% 0.152 113.4)
XYZxyz(32.6666, 40.4297, 8.0900)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B228 #3128B2
analogous
#B27628 #A9B228 #64B228
triadic
#A9B228 #28A9B2 #B228A9
tetradic
#A9B228 #28B276 #3128B2 #B22864
square
#A9B228 #28B276 #3128B2 #B22864
split-complementary
#A9B228 #2864B2 #7628B2
monochromatic
#4A4E12 #7A801D #A9B228 #CBD543 #D9E075

Accessibility & contrast

On white

2.31
#A9B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A9B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B228
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B228#FFFFFF#000000##000000
##A9B2281.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B5A798
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a9b228;
/* rgb */ color: rgb(169, 178, 40);
/* oklch */ color: oklch(73.3% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#c6c86e',
    500: '#a9b228',
    950: '#000000',
  },
}
SCSS
$custom: #a9b228;
$custom-light: #c6c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b228",
  "rgb": {
    "r": 169,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 63.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.15198,
    "h": 113.4
  },
  "luminance": 0.40429
}

Semantic roles & 50–950 ramp

primary
#A9B228
secondary
#746FC7
accent
#41E64C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B228

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

Preview Lab → · Contrast checker → · Palette generator →

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