#AAB254#AAB254

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

Color values

HEX#AAB254
RGBrgb(170, 178, 84)
HSLhsl(65, 38%, 51%)
HSVhsv(65, 53%, 70%)
CMYKcmyk(4.5%, 0%, 52.8%, 30.2%)
CIE-LABlab(70.20, -16.25, 46.46)
CIE-LCHlch(70.20, 49.22, 109.28°)
OKLaboklab(73.74% -0.0471 0.1091)
OKLCHoklch(73.74% 0.119 113.3)
XYZxyz(34.0988, 41.0275, 14.5086)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB254 #5C54B2
analogous
#B28B54 #AAB254 #7BB254
triadic
#AAB254 #54AAB2 #B254AA
tetradic
#AAB254 #54B28B #5C54B2 #B2547B
square
#AAB254 #54B28B #5C54B2 #B2547B
split-complementary
#AAB254 #547BB2 #8B54B2
monochromatic
#5C602B #848A3E #AAB254 #BFC57E #D4D8A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB254#FFFFFF#000000##000000
##AAB2541.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)
#BDAB4B
Deuteranopia (green-blind)
#BDAD59
Tritanopia (blue-blind)
#B4A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab254;
/* rgb */ color: rgb(170, 178, 84);
/* oklch */ color: oklch(73.7% 0.119 113.3);
Tailwind
colors: {
  custom: {
    50: '#c5c887',
    500: '#aab254',
    950: '#000000',
  },
}
SCSS
$custom: #aab254;
$custom-light: #c5c887;
$custom-dark: #000000;
JSON
{
  "hex": "#aab254",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 65.106,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.11884,
    "h": 113.3
  },
  "luminance": 0.41027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAB254

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

Preview Lab → · Contrast checker → · Palette generator →

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