#A5AB30#A5AB30

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

Color values

HEX#A5AB30
RGBrgb(165, 171, 48)
HSLhsl(63, 56%, 43%)
HSVhsv(63, 72%, 67%)
CMYKcmyk(3.5%, 0%, 71.9%, 32.9%)
CIE-LABlab(67.53, -17.31, 58.91)
CIE-LCHlch(67.53, 61.40, 106.37°)
OKLaboklab(71.41% -0.0535 0.1306)
OKLCHoklch(71.41% 0.141 112.3)
XYZxyz(30.6144, 37.3393, 8.3902)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB30 #3630AB
analogous
#AB7330 #A5AB30 #67AB30
triadic
#A5AB30 #30A5AB #AB30A5
tetradic
#A5AB30 #30AB73 #3630AB #AB3067
square
#A5AB30 #30AB73 #3630AB #AB3067
split-complementary
#A5AB30 #3067AB #7330AB
monochromatic
#494B15 #777B23 #A5AB30 #C6CD4C #D5DA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB30#FFFFFF#000000##000000
##A5AB301.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)
#B8A31A
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab30;
/* rgb */ color: rgb(165, 171, 48);
/* oklch */ color: oklch(71.4% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c371',
    500: '#a5ab30',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab30;
$custom-light: #c3c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab30",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 62.927,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71415,
    "c": 0.14116,
    "h": 112.3
  },
  "luminance": 0.37339
}

Semantic roles & 50–950 ramp

primary
#A5AB30
secondary
#7874C3
accent
#48DF50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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