#AAB831#AAB831

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

Color values

HEX#AAB831
RGBrgb(170, 184, 49)
HSLhsl(66, 58%, 46%)
HSVhsv(66, 73%, 72%)
CMYKcmyk(7.6%, 0%, 73.4%, 27.8%)
CIE-LABlab(71.59, -21.65, 62.59)
CIE-LCHlch(71.59, 66.23, 109.08°)
OKLaboklab(74.77% -0.0657 0.1384)
OKLCHoklch(74.77% 0.153 115.4)
XYZxyz(34.2734, 43.0493, 9.4090)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB831 #3F31B8
analogous
#B88231 #AAB831 #66B831
triadic
#AAB831 #31AAB8 #B831AA
tetradic
#AAB831 #31B882 #3F31B8 #B83166
square
#AAB831 #31B882 #3F31B8 #B83166
split-complementary
#AAB831 #3166B8 #8231B8
monochromatic
#515717 #7D8824 #AAB831 #C5D255 #D5DE85

Accessibility & contrast

On white

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

On black

9.61
#AAB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB831
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB831#FFFFFF#000000##000000
##AAB8311.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab831;
/* rgb */ color: rgb(170, 184, 49);
/* oklch */ color: oklch(74.8% 0.153 115.4);
Tailwind
colors: {
  custom: {
    50: '#c7cd73',
    500: '#aab831',
    950: '#000000',
  },
}
SCSS
$custom: #aab831;
$custom-light: #c7cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#aab831",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 66.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74765,
    "c": 0.15324,
    "h": 115.4
  },
  "luminance": 0.43049
}

Semantic roles & 50–950 ramp

primary
#AAB831
secondary
#857DC8
accent
#47E157
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB831

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

Preview Lab → · Contrast checker → · Palette generator →

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