#AAAF35#AAAF35

#AAAF35 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.141 H 111.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AAAF35
RGBrgb(170, 175, 53)
HSLhsl(62, 54%, 45%)
HSVhsv(62, 70%, 69%)
CMYKcmyk(2.9%, 0%, 69.7%, 31.4%)
CIE-LABlab(69.09, -16.93, 58.72)
CIE-LCHlch(69.09, 61.11, 106.08°)
OKLaboklab(72.77% -0.0522 0.1309)
OKLCHoklch(72.77% 0.141 111.7)
XYZxyz(32.5512, 39.4638, 9.2700)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF35 #3A35AF
analogous
#AF7735 #AAAF35 #6DAF35
triadic
#AAAF35 #35AAAF #AF35AA
tetradic
#AAAF35 #35AF77 #3A35AF #AF356D
square
#AAAF35 #35AF77 #3A35AF #AF356D
split-complementary
#AAAF35 #356DAF #7735AF
monochromatic
#4F5119 #7C8027 #AAAF35 #C7CC56 #D6DA85

Accessibility & contrast

On white

2.36
#AAAF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AAAF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF35
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF35#FFFFFF#000000##000000
##AAAF351.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA721
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf35;
/* rgb */ color: rgb(170, 175, 53);
/* oklch */ color: oklch(72.8% 0.141 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c674',
    500: '#aaaf35',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf35;
$custom-light: #c6c674;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf35",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 62.459,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72768,
    "c": 0.14097,
    "h": 111.7
  },
  "luminance": 0.39463
}

Semantic roles & 50–950 ramp

primary
#AAAF35
secondary
#7F7CC4
accent
#4BDD51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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