#A9B252#A9B252

#A9B252 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.6% C 0.121 H 113.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A9B252
RGBrgb(169, 178, 82)
HSLhsl(66, 38%, 51%)
HSVhsv(66, 54%, 70%)
CMYKcmyk(5.1%, 0%, 53.9%, 30.2%)
CIE-LABlab(70.10, -16.84, 47.28)
CIE-LCHlch(70.10, 50.19, 109.61°)
OKLaboklab(73.64% -0.0489 0.1107)
OKLCHoklch(73.64% 0.121 113.8)
XYZxyz(33.8062, 40.8856, 14.0918)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B252 #5B52B2
analogous
#B28B52 #A9B252 #79B252
triadic
#A9B252 #52A9B2 #B252A9
tetradic
#A9B252 #52B28B #5B52B2 #B25279
square
#A9B252 #52B28B #5B52B2 #B25279
split-complementary
#A9B252 #5279B2 #8B52B2
monochromatic
#5A5F2A #828A3D #A9B252 #BEC57C #D3D8A7

Accessibility & contrast

On white

2.29
#A9B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A9B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B252
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B252#FFFFFF#000000##000000
##A9B2521.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA49
Deuteranopia (green-blind)
#BDAC57
Tritanopia (blue-blind)
#B3A99D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a9b252;
/* rgb */ color: rgb(169, 178, 82);
/* oklch */ color: oklch(73.6% 0.121 113.8);
Tailwind
colors: {
  custom: {
    50: '#c5c886',
    500: '#a9b252',
    950: '#000000',
  },
}
SCSS
$custom: #a9b252;
$custom-light: #c5c886;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b252",
  "rgb": {
    "r": 169,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 65.625,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73636,
    "c": 0.121,
    "h": 113.8
  },
  "luminance": 0.40885
}

Semantic roles & 50–950 ramp

primary
#A9B252
secondary
#9F9BC5
accent
#59CE64
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A9B252

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

Preview Lab → · Contrast checker → · Palette generator →

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