#A5A91C#A5A91C

#A5A91C is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.149 H 111.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A5A91C
RGBrgb(165, 169, 28)
HSLhsl(62, 72%, 39%)
HSVhsv(62, 83%, 66%)
CMYKcmyk(2.4%, 0%, 83.4%, 33.7%)
CIE-LABlab(66.87, -17.08, 64.47)
CIE-LCHlch(66.87, 66.70, 104.84°)
OKLaboklab(70.86% -0.0545 0.1389)
OKLCHoklch(70.86% 0.149 111.4)
XYZxyz(29.9157, 36.4599, 6.5600)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A91C #201CA9
analogous
#A9661C #A5A91C #5EA91C
triadic
#A5A91C #1CA5A9 #A91CA5
tetradic
#A5A91C #1CA966 #201CA9 #A91C5E
square
#A5A91C #1CA966 #201CA9 #A91C5E
split-complementary
#A5A91C #1C5EA9 #661CA9
monochromatic
#3E400B #727413 #A5A91C #D6DB27 #E0E45B

Accessibility & contrast

On white

2.53
#A5A91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A5A91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A91C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A91C#FFFFFF#000000##000000
##A5A91C1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A42B
Tritanopia (blue-blind)
#B19E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a91c;
/* rgb */ color: rgb(165, 169, 28);
/* oklch */ color: oklch(70.9% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c268',
    500: '#a5a91c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a91c;
$custom-light: #c4c268;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a91c",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 61.702,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70855,
    "c": 0.1492,
    "h": 111.4
  },
  "luminance": 0.36459
}

Semantic roles & 50–950 ramp

primary
#A5A91C
secondary
#5C59C8
accent
#39EE3F
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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