#AABA2D#AABA2D

#AABA2D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.158 H 116.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#AABA2D
RGBrgb(170, 186, 45)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 73%)
CMYKcmyk(8.6%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.13, -22.82, 64.43)
CIE-LCHlch(72.13, 68.35, 109.51°)
OKLaboklab(75.19% -0.0693 0.1416)
OKLCHoklch(75.19% 0.158 116.1)
XYZxyz(34.6111, 43.8538, 9.1235)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA2D #3D2DBA
analogous
#BA842D #AABA2D #63BA2D
triadic
#AABA2D #2DAABA #BA2DAA
tetradic
#AABA2D #2DBA84 #3D2DBA #BA2D63
square
#AABA2D #2DBA84 #3D2DBA #BA2D63
split-complementary
#AABA2D #2D63BA #842DBA
monochromatic
#505715 #7D8921 #AABA2D #C5D550 #D6E081

Accessibility & contrast

On white

2.15
#AABA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#AABA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA2D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA2D#FFFFFF#000000##000000
##AABA2D1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B008
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba2d;
/* rgb */ color: rgb(170, 186, 45);
/* oklch */ color: oklch(75.2% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce71',
    500: '#aaba2d',
    950: '#000000',
  },
}
SCSS
$custom: #aaba2d;
$custom-light: #c7ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba2d",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 66.809,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75194,
    "c": 0.15767,
    "h": 116.1
  },
  "luminance": 0.43853
}

Semantic roles & 50–950 ramp

primary
#AABA2D
secondary
#8279C9
accent
#44E456
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AABA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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