#AAA262#AAA262

#AAA262 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.085 H 102.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AAA262
RGBrgb(170, 162, 98)
HSLhsl(53, 30%, 53%)
HSVhsv(53, 42%, 67%)
CMYKcmyk(0%, 4.7%, 42.4%, 33.3%)
CIE-LABlab(65.96, -6.51, 34.27)
CIE-LCHlch(65.96, 34.88, 100.76°)
OKLaboklab(70.43% -0.0179 0.0833)
OKLCHoklch(70.43% 0.085 102.1)
XYZxyz(31.7031, 35.2694, 16.6906)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA262 #626AAA
analogous
#AA7E62 #AAA262 #8EAA62
triadic
#AAA262 #62AAA2 #A262AA
tetradic
#AAA262 #62AA7E #626AAA #AA628E
square
#AAA262 #62AA7E #626AAA #AA628E
split-complementary
#AAA262 #628EAA #7E62AA
monochromatic
#5E5A33 #867F49 #AAA262 #BFBA8A #D5D1B1

Accessibility & contrast

On white

2.61
#AAA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AAA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA262
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA262#FFFFFF#000000##000000
##AAA2621.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#B49A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa262;
/* rgb */ color: rgb(170, 162, 98);
/* oklch */ color: oklch(70.4% 0.085 102.1);
Tailwind
colors: {
  custom: {
    50: '#c4bd8f',
    500: '#aaa262',
    950: '#000000',
  },
}
SCSS
$custom: #aaa262;
$custom-light: #c4bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa262",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 53.333,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.08514,
    "h": 102.1
  },
  "luminance": 0.35269
}

Semantic roles & 50–950 ramp

primary
#AAA262
secondary
#A4A8C4
accent
#6DC662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AAA262

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

Preview Lab → · Contrast checker → · Palette generator →

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