#AAB334#AAB334

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

Color values

HEX#AAB334
RGBrgb(170, 179, 52)
HSLhsl(64, 55%, 45%)
HSVhsv(64, 71%, 70%)
CMYKcmyk(5%, 0%, 70.9%, 29.8%)
CIE-LABlab(70.20, -19.00, 60.19)
CIE-LCHlch(70.20, 63.12, 107.52°)
OKLaboklab(73.66% -0.0581 0.1339)
OKLCHoklch(73.66% 0.146 113.5)
XYZxyz(33.3185, 41.0349, 9.4135)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB334 #3D34B3
analogous
#B37C34 #AAB334 #6AB334
triadic
#AAB334 #34AAB3 #B334AA
tetradic
#AAB334 #34B37C #3D34B3 #B3346A
square
#AAB334 #34B37C #3D34B3 #B3346A
split-complementary
#AAB334 #346AB3 #7C34B3
monochromatic
#505418 #7D8426 #AAB334 #C5CE56 #D6DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB334#FFFFFF#000000##000000
##AAB3341.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)
#C0AA1E
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#B5A89A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab334;
/* rgb */ color: rgb(170, 179, 52);
/* oklch */ color: oklch(73.7% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#c7c974',
    500: '#aab334',
    950: '#000000',
  },
}
SCSS
$custom: #aab334;
$custom-light: #c7c974;
$custom-dark: #000000;
JSON
{
  "hex": "#aab334",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 64.252,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.14593,
    "h": 113.5
  },
  "luminance": 0.41034
}

Semantic roles & 50–950 ramp

primary
#AAB334
secondary
#827DC5
accent
#49DE54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB334

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

Preview Lab → · Contrast checker → · Palette generator →

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