#A5AB2E#A5AB2E

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

Color values

HEX#A5AB2E
RGBrgb(165, 171, 46)
HSLhsl(63, 58%, 43%)
HSVhsv(63, 73%, 67%)
CMYKcmyk(3.5%, 0%, 73.1%, 32.9%)
CIE-LABlab(67.52, -17.40, 59.61)
CIE-LCHlch(67.52, 62.10, 106.27°)
OKLaboklab(71.4% -0.0539 0.1318)
OKLCHoklch(71.4% 0.142 112.3)
XYZxyz(30.5741, 37.3231, 8.1778)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AB2E #342EAB
analogous
#AB722E #A5AB2E #66AB2E
triadic
#A5AB2E #2EA5AB #AB2EA5
tetradic
#A5AB2E #2EAB72 #342EAB #AB2E66
square
#A5AB2E #2EAB72 #342EAB #AB2E66
split-complementary
#A5AB2E #2E66AB #722EAB
monochromatic
#484B14 #767B21 #A5AB2E #C7CE48 #D6DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AB2E#FFFFFF#000000##000000
##A5AB2E1.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)
#B8A315
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5ab2e;
/* rgb */ color: rgb(165, 171, 46);
/* oklch */ color: oklch(71.4% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#c3c370',
    500: '#a5ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5ab2e;
$custom-light: #c3c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ab2e",
  "rgb": {
    "r": 165,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 62.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71402,
    "c": 0.14238,
    "h": 112.3
  },
  "luminance": 0.37322
}

Semantic roles & 50–950 ramp

primary
#A5AB2E
secondary
#7672C3
accent
#47E14E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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