#A9B751#A9B751

#A9B751 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.7% C 0.128 H 116.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#A9B751
RGBrgb(169, 183, 81)
HSLhsl(68, 41%, 52%)
HSVhsv(68, 56%, 72%)
CMYKcmyk(7.7%, 0%, 55.7%, 28.2%)
CIE-LABlab(71.48, -19.45, 49.34)
CIE-LCHlch(71.48, 53.04, 111.52°)
OKLaboklab(74.74% -0.0564 0.115)
OKLCHoklch(74.74% 0.128 116.1)
XYZxyz(34.7815, 42.8965, 14.2306)
Luminance0.4290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B751 #5F51B7
analogous
#B79251 #A9B751 #76B751
triadic
#A9B751 #51A9B7 #B751A9
tetradic
#A9B751 #51B792 #5F51B7 #B75176
square
#A9B751 #51B792 #5F51B7 #B75176
split-complementary
#A9B751 #5176B7 #9251B7
monochromatic
#5C6429 #848F3B #A9B751 #BEC97C #D4DBA8

Accessibility & contrast

On white

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

On black

9.58
#A9B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B751
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B751#FFFFFF#000000##000000
##A9B7511.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C1B057
Tritanopia (blue-blind)
#B2AEA1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a9b751;
/* rgb */ color: rgb(169, 183, 81);
/* oklch */ color: oklch(74.7% 0.128 116.1);
Tailwind
colors: {
  custom: {
    50: '#c5cc85',
    500: '#a9b751',
    950: '#000000',
  },
}
SCSS
$custom: #a9b751;
$custom-light: #c5cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b751",
  "rgb": {
    "r": 169,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 68.235,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.1281,
    "h": 116.1
  },
  "luminance": 0.42896
}

Semantic roles & 50–950 ramp

primary
#A9B751
secondary
#A29CC8
accent
#57D167
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A9B751

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

Preview Lab → · Contrast checker → · Palette generator →

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