#AAA158#AAA158

#AAA158 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.095 H 102.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AAA158
RGBrgb(170, 161, 88)
HSLhsl(53, 33%, 51%)
HSVhsv(53, 48%, 67%)
CMYKcmyk(0%, 5.3%, 48.2%, 33.3%)
CIE-LABlab(65.55, -7.01, 38.94)
CIE-LCHlch(65.55, 39.56, 100.20°)
OKLaboklab(70.06% -0.0203 0.093)
OKLCHoklch(70.06% 0.095 102.3)
XYZxyz(31.0847, 34.7413, 14.2990)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA158 #5861AA
analogous
#AA7858 #AAA158 #8AAA58
triadic
#AAA158 #58AAA1 #A158AA
tetradic
#AAA158 #58AA78 #5861AA #AA588A
square
#AAA158 #58AA78 #5861AA #AA588A
split-complementary
#AAA158 #588AAA #7858AA
monochromatic
#5A552E #827B42 #AAA158 #BFB881 #D3CFA9

Accessibility & contrast

On white

2.64
#AAA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AAA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA158
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA158#FFFFFF#000000##000000
##AAA1581.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D52
Deuteranopia (green-blind)
#B0A15B
Tritanopia (blue-blind)
#B59890
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa158;
/* rgb */ color: rgb(170, 161, 88);
/* oklch */ color: oklch(70.1% 0.095 102.3);
Tailwind
colors: {
  custom: {
    50: '#c5bc89',
    500: '#aaa158',
    950: '#000000',
  },
}
SCSS
$custom: #aaa158;
$custom-light: #c5bc89;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa158",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 53.415,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70056,
    "c": 0.0952,
    "h": 102.3
  },
  "luminance": 0.3474
}

Semantic roles & 50–950 ramp

primary
#AAA158
secondary
#9DA1C1
accent
#6BC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA158

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

Preview Lab → · Contrast checker → · Palette generator →

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