#A5AB27#A5AB27

#A5AB27 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.45:1 contrast (WCAG AA passes).

Color values

HEX#A5AB27
RGBrgb(165, 171, 39)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(3.5%, 0%, 77.2%, 32.9%)
CIE-LABlab(67.48, -17.72, 61.91)
CIE-LCHlch(67.48, 64.40, 105.97°)
OKLaboklab(71.36% -0.0554 0.1354)
OKLCHoklch(71.36% 0.146 112.3)
XYZxyz(30.4472, 37.2724, 7.5095)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB27 #2D27AB
analogous
#AB6F27 #A5AB27 #63AB27
triadic
#A5AB27 #27A5AB #AB27A5
tetradic
#A5AB27 #27AB6F #2D27AB #AB2763
square
#A5AB27 #27AB6F #2D27AB #AB2763
split-complementary
#A5AB27 #2763AB #6F27AB
monochromatic
#454710 #75791C #A5AB27 #CCD33D #D9DE6E

Accessibility & contrast

On white

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

On black

8.45
#A5AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AB27
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AB27#FFFFFF#000000##000000
##A5AB271.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5ab27;
/* rgb */ color: rgb(165, 171, 39);
/* oklch */ color: oklch(71.4% 0.146 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c36d',
    500: '#a5ab27',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab27;
$custom-light: #c3c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab27",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 62.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71359,
    "c": 0.14628,
    "h": 112.3
  },
  "luminance": 0.37272
}

Semantic roles & 50–950 ramp

primary
#A5AB27
secondary
#6D69C5
accent
#42E649
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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