#AAB255#AAB255

#AAB255 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.118 H 113.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AAB255
RGBrgb(170, 178, 85)
HSLhsl(65, 38%, 52%)
HSVhsv(65, 52%, 70%)
CMYKcmyk(4.5%, 0%, 52.2%, 30.2%)
CIE-LABlab(70.21, -16.16, 45.99)
CIE-LCHlch(70.21, 48.75, 109.36°)
OKLaboklab(73.76% -0.0467 0.1082)
OKLCHoklch(73.76% 0.118 113.3)
XYZxyz(34.1383, 41.0433, 14.7163)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB255 #5D55B2
analogous
#B28C55 #AAB255 #7CB255
triadic
#AAB255 #55AAB2 #B255AA
tetradic
#AAB255 #55B28C #5D55B2 #B2557C
square
#AAB255 #55B28C #5D55B2 #B2557C
split-complementary
#AAB255 #557CB2 #8C55B2
monochromatic
#5C612C #848B3F #AAB255 #BFC57F #D4D8A9

Accessibility & contrast

On white

2.28
#AAB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AAB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB255
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB255#FFFFFF#000000##000000
##AAB2551.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB4C
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#B4A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab255;
/* rgb */ color: rgb(170, 178, 85);
/* oklch */ color: oklch(73.8% 0.118 113.3);
Tailwind
colors: {
  custom: {
    50: '#c5c887',
    500: '#aab255',
    950: '#000000',
  },
}
SCSS
$custom: #aab255;
$custom-light: #c5c887;
$custom-dark: #000000;
JSON
{
  "hex": "#aab255",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 65.161,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73755,
    "c": 0.11786,
    "h": 113.3
  },
  "luminance": 0.41043
}

Semantic roles & 50–950 ramp

primary
#AAB255
secondary
#A09DC6
accent
#5ACE64
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB255

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

Preview Lab → · Contrast checker → · Palette generator →

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