#A5AB28#A5AB28

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

Color values

HEX#A5AB28
RGBrgb(165, 171, 40)
HSLhsl(63, 62%, 41%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(3.5%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.49, -17.67, 61.60)
CIE-LCHlch(67.49, 64.09, 106.01°)
OKLaboklab(71.36% -0.0552 0.1349)
OKLCHoklch(71.36% 0.146 112.3)
XYZxyz(30.4640, 37.2791, 7.5979)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB28 #2E28AB
analogous
#AB7028 #A5AB28 #64AB28
triadic
#A5AB28 #28A5AB #AB28A5
tetradic
#A5AB28 #28AB70 #2E28AB #AB2864
square
#A5AB28 #28AB70 #2E28AB #AB2864
split-complementary
#A5AB28 #2864AB #7028AB
monochromatic
#454811 #75791C #A5AB28 #CBD23E #D8DE70

Accessibility & contrast

On white

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

On black

8.46
#A5AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB28
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB28#FFFFFF#000000##000000
##A5AB281.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A304
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab28;
/* rgb */ color: rgb(165, 171, 40);
/* oklch */ color: oklch(71.4% 0.146 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36d',
    500: '#a5ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab28;
$custom-light: #c3c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab28",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 62.748,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71365,
    "c": 0.14576,
    "h": 112.3
  },
  "luminance": 0.37278
}

Semantic roles & 50–950 ramp

primary
#A5AB28
secondary
#6F6AC4
accent
#43E54A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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