#AAB751#AAB751

#AAB751 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.128 H 115.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AAB751
RGBrgb(170, 183, 81)
HSLhsl(68, 41%, 52%)
HSVhsv(68, 56%, 72%)
CMYKcmyk(7.1%, 0%, 55.7%, 28.2%)
CIE-LABlab(71.56, -19.04, 49.45)
CIE-LCHlch(71.56, 52.99, 111.06°)
OKLaboklab(74.82% -0.0553 0.1152)
OKLCHoklch(74.82% 0.128 115.6)
XYZxyz(34.9969, 43.0076, 14.2407)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB751 #5E51B7
analogous
#B79151 #AAB751 #77B751
triadic
#AAB751 #51AAB7 #B751AA
tetradic
#AAB751 #51B791 #5E51B7 #B75177
square
#AAB751 #51B791 #5E51B7 #B75177
split-complementary
#AAB751 #5177B7 #9151B7
monochromatic
#5D6429 #858F3B #AAB751 #BFC97C #D4DBA8

Accessibility & contrast

On white

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

On black

9.60
#AAB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB751
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB751#FFFFFF#000000##000000
##AAB7511.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C2B057
Tritanopia (blue-blind)
#B4AEA1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab751;
/* rgb */ color: rgb(170, 183, 81);
/* oklch */ color: oklch(74.8% 0.128 115.6);
Tailwind
colors: {
  custom: {
    50: '#c5cc85',
    500: '#aab751',
    950: '#000000',
  },
}
SCSS
$custom: #aab751;
$custom-light: #c5cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#aab751",
  "rgb": {
    "r": 170,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 67.647,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74824,
    "c": 0.1278,
    "h": 115.6
  },
  "luminance": 0.43007
}

Semantic roles & 50–950 ramp

primary
#AAB751
secondary
#A19CC8
accent
#57D166
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB751

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

Preview Lab → · Contrast checker → · Palette generator →

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