#AAB845#AAB845

#AAB845 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.9% C 0.139 H 115.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AAB845
RGBrgb(170, 184, 69)
HSLhsl(67, 45%, 50%)
HSVhsv(67, 63%, 72%)
CMYKcmyk(7.6%, 0%, 62.5%, 27.8%)
CIE-LABlab(71.73, -20.47, 54.98)
CIE-LCHlch(71.73, 58.67, 110.42°)
OKLaboklab(74.92% -0.0605 0.1255)
OKLCHoklch(74.92% 0.139 115.7)
XYZxyz(34.7930, 43.2572, 12.1457)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB845 #5345B8
analogous
#B88C45 #AAB845 #71B845
triadic
#AAB845 #45AAB8 #B845AA
tetradic
#AAB845 #45B88C #5345B8 #B84571
square
#AAB845 #45B88C #5345B8 #B84571
split-complementary
#AAB845 #4571B8 #8C45B8
monochromatic
#585F24 #818B34 #AAB845 #BFCA71 #D3DA9D

Accessibility & contrast

On white

2.18
#AAB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AAB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB845
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB845#FFFFFF#000000##000000
##AAB8451.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#B4AEA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab845;
/* rgb */ color: rgb(170, 184, 69);
/* oklch */ color: oklch(74.9% 0.139 115.7);
Tailwind
colors: {
  custom: {
    50: '#c6cd7e',
    500: '#aab845',
    950: '#000000',
  },
}
SCSS
$custom: #aab845;
$custom-light: #c6cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab845",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 67.304,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74923,
    "c": 0.13936,
    "h": 115.7
  },
  "luminance": 0.43257
}

Semantic roles & 50–950 ramp

primary
#AAB845
secondary
#9992C7
accent
#53D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB845

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

Preview Lab → · Contrast checker → · Palette generator →

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