#AAB45F#AAB45F

#AAB45F is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.110 H 114.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#AAB45F
RGBrgb(170, 180, 95)
HSLhsl(67, 36%, 54%)
HSVhsv(67, 47%, 71%)
CMYKcmyk(5.6%, 0%, 47.2%, 29.4%)
CIE-LABlab(70.88, -16.23, 41.91)
CIE-LCHlch(70.88, 44.94, 111.17°)
OKLaboklab(74.33% -0.0459 0.1001)
OKLCHoklch(74.33% 0.11 114.6)
XYZxyz(34.9648, 42.0153, 17.0921)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB45F #695FB4
analogous
#B4945F #AAB45F #80B45F
triadic
#AAB45F #5FAAB4 #B45FAA
tetradic
#AAB45F #5FB494 #695FB4 #B45F80
square
#AAB45F #5FB494 #695FB4 #B45F80
split-complementary
#AAB45F #5F80B4 #945FB4
monochromatic
#616831 #889244 #AAB45F #C0C889 #D6DBB2

Accessibility & contrast

On white

2.23
#AAB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#AAB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB45F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB45F#FFFFFF#000000##000000
##AAB45F1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD58
Deuteranopia (green-blind)
#BEAE63
Tritanopia (blue-blind)
#B3ACA0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab45f;
/* rgb */ color: rgb(170, 180, 95);
/* oklch */ color: oklch(74.3% 0.110 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5ca8e',
    500: '#aab45f',
    950: '#000000',
  },
}
SCSS
$custom: #aab45f;
$custom-light: #c5ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab45f",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 67.059,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.11016,
    "h": 114.6
  },
  "luminance": 0.42015
}

Semantic roles & 50–950 ramp

primary
#AAB45F
secondary
#AAA5CA
accent
#5CCC69
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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