#AAA251#AAA251

#AAA251 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.104 H 103.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AAA251
RGBrgb(170, 162, 81)
HSLhsl(55, 35%, 49%)
HSVhsv(55, 52%, 67%)
CMYKcmyk(0%, 4.7%, 52.4%, 33.3%)
CIE-LABlab(65.73, -8.19, 42.68)
CIE-LCHlch(65.73, 43.46, 100.86°)
OKLaboklab(70.18% -0.0244 0.1006)
OKLCHoklch(70.18% 0.104 103.6)
XYZxyz(30.9840, 34.9818, 12.9030)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA251 #5159AA
analogous
#AA7651 #AAA251 #86AA51
triadic
#AAA251 #51AAA2 #A251AA
tetradic
#AAA251 #51AA76 #5159AA #AA5186
square
#AAA251 #51AA76 #5159AA #AA5186
split-complementary
#AAA251 #5186AA #7651AA
monochromatic
#57532A #817B3D #AAA251 #BFB979 #D3CFA2

Accessibility & contrast

On white

2.63
#AAA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AAA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA251
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA251#FFFFFF#000000##000000
##AAA2511.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#B5998F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa251;
/* rgb */ color: rgb(170, 162, 81);
/* oklch */ color: oklch(70.2% 0.104 103.6);
Tailwind
colors: {
  custom: {
    50: '#c5bd84',
    500: '#aaa251',
    950: '#000000',
  },
}
SCSS
$custom: #aaa251;
$custom-light: #c5bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa251",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 54.607,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.10355,
    "h": 103.6
  },
  "luminance": 0.34981
}

Semantic roles & 50–950 ramp

primary
#AAA251
secondary
#979AC0
accent
#66CB5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA251

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

Preview Lab → · Contrast checker → · Palette generator →

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