#A9B231#A9B231

#A9B231 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.147 H 113.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A9B231
RGBrgb(169, 178, 49)
HSLhsl(64, 57%, 45%)
HSVhsv(64, 72%, 70%)
CMYKcmyk(5.1%, 0%, 72.5%, 30.2%)
CIE-LABlab(69.82, -19.08, 60.87)
CIE-LCHlch(69.82, 63.79, 107.40°)
OKLaboklab(73.33% -0.0585 0.1348)
OKLCHoklch(73.33% 0.147 113.5)
XYZxyz(32.8379, 40.4982, 8.9922)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B231 #3A31B2
analogous
#B27B31 #A9B231 #69B231
triadic
#A9B231 #31A9B2 #B231A9
tetradic
#A9B231 #31B27B #3A31B2 #B23169
square
#A9B231 #31B27B #3A31B2 #B23169
split-complementary
#A9B231 #3169B2 #7B31B2
monochromatic
#4E5217 #7B8224 #A9B231 #C6CF51 #D6DC81

Accessibility & contrast

On white

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

On black

9.10
#A9B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B231
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B231#FFFFFF#000000##000000
##A9B2311.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B4A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a9b231;
/* rgb */ color: rgb(169, 178, 49);
/* oklch */ color: oklch(73.3% 0.147 113.5);
Tailwind
colors: {
  custom: {
    50: '#c6c872',
    500: '#a9b231',
    950: '#000000',
  },
}
SCSS
$custom: #a9b231;
$custom-light: #c6c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b231",
  "rgb": {
    "r": 169,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 64.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73331,
    "c": 0.14699,
    "h": 113.5
  },
  "luminance": 0.40498
}

Semantic roles & 50–950 ramp

primary
#A9B231
secondary
#7F79C5
accent
#48E052
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B231

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

Preview Lab → · Contrast checker → · Palette generator →

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