#A9B827#A9B827

#A9B827 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.159 H 115.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#A9B827
RGBrgb(169, 184, 39)
HSLhsl(66, 65%, 44%)
HSVhsv(66, 79%, 72%)
CMYKcmyk(8.2%, 0%, 78.8%, 27.8%)
CIE-LABlab(71.46, -22.51, 65.63)
CIE-LCHlch(71.46, 69.38, 108.93°)
OKLaboklab(74.63% -0.0689 0.1431)
OKLCHoklch(74.63% 0.159 115.7)
XYZxyz(33.8698, 42.8630, 8.4082)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B827 #3627B8
analogous
#B87E27 #A9B827 #60B827
triadic
#A9B827 #27A9B8 #B827A9
tetradic
#A9B827 #27B87E #3627B8 #B82760
square
#A9B827 #27B87E #3627B8 #B82760
split-complementary
#A9B827 #2760B8 #7E27B8
monochromatic
#4C5312 #7B861C #A9B827 #C8D845 #D7E277

Accessibility & contrast

On white

2.19
#A9B827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A9B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B827
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B827#FFFFFF#000000##000000
##A9B8271.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B4AD9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a9b827;
/* rgb */ color: rgb(169, 184, 39);
/* oklch */ color: oklch(74.6% 0.159 115.7);
Tailwind
colors: {
  custom: {
    50: '#c6cd6e',
    500: '#a9b827',
    950: '#000000',
  },
}
SCSS
$custom: #a9b827;
$custom-light: #c6cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b827",
  "rgb": {
    "r": 169,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 66.207,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74629,
    "c": 0.15885,
    "h": 115.7
  },
  "luminance": 0.42862
}

Semantic roles & 50–950 ramp

primary
#A9B827
secondary
#7A71CA
accent
#40E851
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B827

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

Preview Lab → · Contrast checker → · Palette generator →

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