#A9B227#A9B227

#A9B227 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.08:1 contrast (WCAG AA passes).

Color values

HEX#A9B227
RGBrgb(169, 178, 39)
HSLhsl(64, 64%, 43%)
HSVhsv(64, 78%, 70%)
CMYKcmyk(5.1%, 0%, 78.1%, 30.2%)
CIE-LABlab(69.77, -19.52, 64.11)
CIE-LCHlch(69.77, 67.01, 106.94°)
OKLaboklab(73.27% -0.0606 0.1399)
OKLCHoklch(73.27% 0.152 113.4)
XYZxyz(32.6498, 40.4230, 8.0016)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B227 #3027B2
analogous
#B27627 #A9B227 #63B227
triadic
#A9B227 #27A9B2 #B227A9
tetradic
#A9B227 #27B276 #3027B2 #B22763
square
#A9B227 #27B276 #3027B2 #B22763
split-complementary
#A9B227 #2763B2 #7627B2
monochromatic
#4A4E11 #79801C #A9B227 #CCD541 #D9E073

Accessibility & contrast

On white

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

On black

9.08
#A9B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B227
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B227#FFFFFF#000000##000000
##A9B2271.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9b227;
/* rgb */ color: rgb(169, 178, 39);
/* oklch */ color: oklch(73.3% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#c6c86e',
    500: '#a9b227',
    950: '#000000',
  },
}
SCSS
$custom: #a9b227;
$custom-light: #c6c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b227",
  "rgb": {
    "r": 169,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 63.885,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.15247,
    "h": 113.4
  },
  "luminance": 0.40422
}

Semantic roles & 50–950 ramp

primary
#A9B227
secondary
#736DC8
accent
#41E74C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B227

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

Preview Lab → · Contrast checker → · Palette generator →

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