#AAB945#AAB945

#AAB945 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.141 H 116.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AAB945
RGBrgb(170, 185, 69)
HSLhsl(68, 46%, 50%)
HSVhsv(68, 63%, 73%)
CMYKcmyk(8.1%, 0%, 62.7%, 27.5%)
CIE-LABlab(72.01, -20.97, 55.28)
CIE-LCHlch(72.01, 59.12, 110.77°)
OKLaboklab(75.15% -0.0619 0.1262)
OKLCHoklch(75.15% 0.141 116.1)
XYZxyz(35.0014, 43.6741, 12.2152)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB945 #5445B9
analogous
#B98E45 #AAB945 #70B945
triadic
#AAB945 #45AAB9 #B945AA
tetradic
#AAB945 #45B98E #5445B9 #B94570
square
#AAB945 #45B98E #5445B9 #B94570
split-complementary
#AAB945 #4570B9 #8E45B9
monochromatic
#586024 #818C34 #AAB945 #BFCA71 #D3DB9E

Accessibility & contrast

On white

2.16
#AAB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AAB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB945
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB945#FFFFFF#000000##000000
##AAB9451.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#B4AFA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab945;
/* rgb */ color: rgb(170, 185, 69);
/* oklch */ color: oklch(75.1% 0.141 116.1);
Tailwind
colors: {
  custom: {
    50: '#c6ce7e',
    500: '#aab945',
    950: '#000000',
  },
}
SCSS
$custom: #aab945;
$custom-light: #c6ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab945",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 67.759,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75149,
    "c": 0.14054,
    "h": 116.1
  },
  "luminance": 0.43674
}

Semantic roles & 50–950 ramp

primary
#AAB945
secondary
#9993C7
accent
#52D563
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB945

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

Preview Lab → · Contrast checker → · Palette generator →

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