#AAAA1F#AAAA1F

#AAAA1F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.148 H 109.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AAAA1F
RGBrgb(170, 170, 31)
HSLhsl(60, 69%, 39%)
HSVhsv(60, 82%, 67%)
CMYKcmyk(0%, 0%, 81.8%, 33.3%)
CIE-LABlab(67.57, -15.31, 64.47)
CIE-LCHlch(67.57, 66.26, 103.36°)
OKLaboklab(71.52% -0.0496 0.1392)
OKLCHoklch(71.52% 0.148 109.6)
XYZxyz(31.2008, 37.3954, 6.8705)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA1F #1F1FAA
analogous
#AA651F #AAAA1F #65AA1F
triadic
#AAAA1F #1FAAAA #AA1FAA
tetradic
#AAAA1F #1FAA65 #1F1FAA #AA1F65
square
#AAAA1F #1FAA65 #1F1FAA #AA1F65
split-complementary
#AAAA1F #1F65AA #651FAA
monochromatic
#42420C #767616 #AAAA1F #D9D92D #E2E261

Accessibility & contrast

On white

2.48
#AAAA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AAAA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA1F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA1F#FFFFFF#000000##000000
##AAAA1F1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#BAA62D
Tritanopia (blue-blind)
#B79F91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa1f;
/* rgb */ color: rgb(170, 170, 31);
/* oklch */ color: oklch(71.5% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#c7c369',
    500: '#aaaa1f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa1f;
$custom-light: #c7c369;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa1f",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71521,
    "c": 0.14777,
    "h": 109.6
  },
  "luminance": 0.37394
}

Semantic roles & 50–950 ramp

primary
#AAAA1F
secondary
#5E5EC7
accent
#3CEC3C
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAAA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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