#AAB335#AAB335

#AAB335 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.145 H 113.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AAB335
RGBrgb(170, 179, 53)
HSLhsl(64, 54%, 45%)
HSVhsv(64, 70%, 70%)
CMYKcmyk(5%, 0%, 70.4%, 29.8%)
CIE-LABlab(70.21, -18.95, 59.82)
CIE-LCHlch(70.21, 62.75, 107.58°)
OKLaboklab(73.67% -0.0579 0.1333)
OKLCHoklch(73.67% 0.145 113.5)
XYZxyz(33.3412, 41.0440, 9.5334)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB335 #3E35B3
analogous
#B37D35 #AAB335 #6BB335
triadic
#AAB335 #35AAB3 #B335AA
tetradic
#AAB335 #35B37D #3E35B3 #B3356B
square
#AAB335 #35B37D #3E35B3 #B3356B
split-complementary
#AAB335 #356BB3 #7D35B3
monochromatic
#505519 #7D8427 #AAB335 #C5CD58 #D5DB87

Accessibility & contrast

On white

2.28
#AAB335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AAB335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB335
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB335#FFFFFF#000000##000000
##AAB3351.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#B5A89A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab335;
/* rgb */ color: rgb(170, 179, 53);
/* oklch */ color: oklch(73.7% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#c7c974',
    500: '#aab335',
    950: '#000000',
  },
}
SCSS
$custom: #aab335;
$custom-light: #c7c974;
$custom-dark: #000000;
JSON
{
  "hex": "#aab335",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 64.286,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.14529,
    "h": 113.5
  },
  "luminance": 0.41043
}

Semantic roles & 50–950 ramp

primary
#AAB335
secondary
#847FC5
accent
#4ADE55
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB335

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

Preview Lab → · Contrast checker → · Palette generator →

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