#AAB231#AAB231

#AAB231 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.147 H 113.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AAB231
RGBrgb(170, 178, 49)
HSLhsl(64, 57%, 45%)
HSVhsv(64, 72%, 70%)
CMYKcmyk(4.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(69.90, -18.65, 60.98)
CIE-LCHlch(69.90, 63.77, 107.01°)
OKLaboklab(73.41% -0.0574 0.135)
OKLCHoklch(73.41% 0.147 113)
XYZxyz(33.0533, 40.6093, 9.0023)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB231 #3931B2
analogous
#B27A31 #AAB231 #6AB231
triadic
#AAB231 #31AAB2 #B231AA
tetradic
#AAB231 #31B27A #3931B2 #B2316A
square
#AAB231 #31B27A #3931B2 #B2316A
split-complementary
#AAB231 #316AB2 #7A31B2
monochromatic
#4E5217 #7C8224 #AAB231 #C7CF51 #D7DC81

Accessibility & contrast

On white

2.30
#AAB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AAB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB231
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB231#FFFFFF#000000##000000
##AAB2311.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B6A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab231;
/* rgb */ color: rgb(170, 178, 49);
/* oklch */ color: oklch(73.4% 0.147 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c872',
    500: '#aab231',
    950: '#000000',
  },
}
SCSS
$custom: #aab231;
$custom-light: #c7c872;
$custom-dark: #000000;
JSON
{
  "hex": "#aab231",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 63.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73413,
    "c": 0.14671,
    "h": 113
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#AAB231
secondary
#7E79C5
accent
#48E051
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB231

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

Preview Lab → · Contrast checker → · Palette generator →

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