#AAA340#AAA340

#AAA340 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.120 H 105.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AAA340
RGBrgb(170, 163, 64)
HSLhsl(56, 45%, 46%)
HSVhsv(56, 62%, 67%)
CMYKcmyk(0%, 4.1%, 62.4%, 33.3%)
CIE-LABlab(65.84, -10.05, 50.82)
CIE-LCHlch(65.84, 51.80, 101.18°)
OKLaboklab(70.2% -0.0316 0.116)
OKLCHoklch(70.2% 0.12 105.3)
XYZxyz(30.6012, 35.1117, 10.0148)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA340 #4047AA
analogous
#AA6E40 #AAA340 #7CAA40
triadic
#AAA340 #40AAA3 #A340AA
tetradic
#AAA340 #40AA6E #4047AA #AA407C
square
#AAA340 #40AA6E #4047AA #AA407C
split-complementary
#AAA340 #407CAA #6E40AA
monochromatic
#514E1F #7E782F #AAA340 #C4BE63 #D5D08F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA340#FFFFFF#000000##000000
##AAA3401.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)
#B09D34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#B6998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa340;
/* rgb */ color: rgb(170, 163, 64);
/* oklch */ color: oklch(70.2% 0.120 105.3);
Tailwind
colors: {
  custom: {
    50: '#c6be79',
    500: '#aaa340',
    950: '#000000',
  },
}
SCSS
$custom: #aaa340;
$custom-light: #c6be79;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa340",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 56.038,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.12025,
    "h": 105.3
  },
  "luminance": 0.35111
}

Semantic roles & 50–950 ramp

primary
#AAA340
secondary
#868AC0
accent
#5BD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA340

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

Preview Lab → · Contrast checker → · Palette generator →

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