#A5AB33#A5AB33

#A5AB33 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.139 H 112.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A5AB33
RGBrgb(165, 171, 51)
HSLhsl(63, 54%, 44%)
HSVhsv(63, 70%, 67%)
CMYKcmyk(3.5%, 0%, 70.2%, 32.9%)
CIE-LABlab(67.55, -17.15, 57.82)
CIE-LCHlch(67.55, 60.31, 106.52°)
OKLaboklab(71.44% -0.0527 0.1289)
OKLCHoklch(71.44% 0.139 112.3)
XYZxyz(30.6784, 37.3649, 8.7274)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB33 #3933AB
analogous
#AB7533 #A5AB33 #69AB33
triadic
#A5AB33 #33A5AB #AB33A5
tetradic
#A5AB33 #33AB75 #3933AB #AB3369
square
#A5AB33 #33AB75 #3933AB #AB3369
split-complementary
#A5AB33 #3369AB #7533AB
monochromatic
#4A4D17 #787C25 #A5AB33 #C5CB50 #D4D97F

Accessibility & contrast

On white

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

On black

8.47
#A5AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB33
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB33#FFFFFF#000000##000000
##A5AB331.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab33;
/* rgb */ color: rgb(165, 171, 51);
/* oklch */ color: oklch(71.4% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c373',
    500: '#a5ab33',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab33;
$custom-light: #c3c373;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab33",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 63,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.13924,
    "h": 112.3
  },
  "luminance": 0.37364
}

Semantic roles & 50–950 ramp

primary
#A5AB33
secondary
#7B78C2
accent
#4ADD52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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