#AAA248#AAA248

#AAA248 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.112 H 104.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AAA248
RGBrgb(170, 162, 72)
HSLhsl(55, 40%, 47%)
HSVhsv(55, 58%, 67%)
CMYKcmyk(0%, 4.7%, 57.6%, 33.3%)
CIE-LABlab(65.64, -8.94, 46.93)
CIE-LCHlch(65.64, 47.77, 100.78°)
OKLaboklab(70.07% -0.0276 0.1088)
OKLCHoklch(70.07% 0.112 104.2)
XYZxyz(30.6686, 34.8556, 11.2419)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA248 #4850AA
analogous
#AA7148 #AAA248 #81AA48
triadic
#AAA248 #48AAA2 #A248AA
tetradic
#AAA248 #48AA71 #4850AA #AA4881
square
#AAA248 #48AA71 #4850AA #AA4881
split-complementary
#AAA248 #4881AA #7148AA
monochromatic
#545024 #7F7936 #AAA248 #C1BB6E #D4CF99

Accessibility & contrast

On white

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

On black

7.97
#AAA248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA248
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA248#FFFFFF#000000##000000
##AAA2481.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3F
Deuteranopia (green-blind)
#B2A14D
Tritanopia (blue-blind)
#B6988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa248;
/* rgb */ color: rgb(170, 162, 72);
/* oklch */ color: oklch(70.1% 0.112 104.2);
Tailwind
colors: {
  custom: {
    50: '#c6bd7e',
    500: '#aaa248',
    950: '#000000',
  },
}
SCSS
$custom: #aaa248;
$custom-light: #c6bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa248",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 55.102,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70068,
    "c": 0.11223,
    "h": 104.2
  },
  "luminance": 0.34855
}

Semantic roles & 50–950 ramp

primary
#AAA248
secondary
#8E92C0
accent
#61D057
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA248

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

Preview Lab → · Contrast checker → · Palette generator →

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