#AAA258#AAA258

#AAA258 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.096 H 103.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AAA258
RGBrgb(170, 162, 88)
HSLhsl(54, 33%, 51%)
HSVhsv(54, 48%, 67%)
CMYKcmyk(0%, 4.7%, 48.2%, 33.3%)
CIE-LABlab(65.82, -7.54, 39.27)
CIE-LCHlch(65.82, 39.99, 100.87°)
OKLaboklab(70.27% -0.0218 0.0938)
OKLCHoklch(70.27% 0.096 103.1)
XYZxyz(31.2601, 35.0922, 14.3574)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA258 #5860AA
analogous
#AA7958 #AAA258 #89AA58
triadic
#AAA258 #58AAA2 #A258AA
tetradic
#AAA258 #58AA79 #5860AA #AA5889
square
#AAA258 #58AA79 #5860AA #AA5889
split-complementary
#AAA258 #5889AA #7958AA
monochromatic
#5A562E #827C42 #AAA258 #BFB981 #D3CFA9

Accessibility & contrast

On white

2.62
#AAA258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AAA258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA258
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA258#FFFFFF#000000##000000
##AAA2581.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E52
Deuteranopia (green-blind)
#B0A25B
Tritanopia (blue-blind)
#B59991
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa258;
/* rgb */ color: rgb(170, 162, 88);
/* oklch */ color: oklch(70.3% 0.096 103.1);
Tailwind
colors: {
  custom: {
    50: '#c5bd89',
    500: '#aaa258',
    950: '#000000',
  },
}
SCSS
$custom: #aaa258;
$custom-light: #c5bd89;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa258",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 54.146,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.09626,
    "h": 103.1
  },
  "luminance": 0.35091
}

Semantic roles & 50–950 ramp

primary
#AAA258
secondary
#9DA0C1
accent
#69C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA258

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

Preview Lab → · Contrast checker → · Palette generator →

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