#A5A91E#A5A91E

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

Color values

HEX#A5A91E
RGBrgb(165, 169, 30)
HSLhsl(62, 70%, 39%)
HSVhsv(62, 82%, 66%)
CMYKcmyk(2.4%, 0%, 82.2%, 33.7%)
CIE-LABlab(66.88, -17.02, 63.97)
CIE-LCHlch(66.88, 66.20, 104.90°)
OKLaboklab(70.86% -0.0542 0.1382)
OKLCHoklch(70.86% 0.148 111.4)
XYZxyz(29.9405, 36.4698, 6.6902)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A91E #221EA9
analogous
#A9681E #A5A91E #60A91E
triadic
#A5A91E #1EA5A9 #A91EA5
tetradic
#A5A91E #1EA968 #221EA9 #A91E60
square
#A5A91E #1EA968 #221EA9 #A91E60
split-complementary
#A5A91E #1E60A9 #681EA9
monochromatic
#40410C #727515 #A5A91E #D4D92B #DFE35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A91E#FFFFFF#000000##000000
##A5A91E1.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)
#B8A42C
Tritanopia (blue-blind)
#B19E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a91e;
/* rgb */ color: rgb(165, 169, 30);
/* oklch */ color: oklch(70.9% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c269',
    500: '#a5a91e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a91e;
$custom-light: #c4c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a91e",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 30
  },
  "hsl": {
    "h": 61.727,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70863,
    "c": 0.1484,
    "h": 111.4
  },
  "luminance": 0.36469
}

Semantic roles & 50–950 ramp

primary
#A5A91E
secondary
#5F5CC7
accent
#3BED40
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A91E

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

Preview Lab → · Contrast checker → · Palette generator →

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