#A5A91F#A5A91F

#A5A91F 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#A5A91F
RGBrgb(165, 169, 31)
HSLhsl(62, 69%, 39%)
HSVhsv(62, 82%, 66%)
CMYKcmyk(2.4%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.88, -16.99, 63.71)
CIE-LCHlch(66.88, 65.94, 104.93°)
OKLaboklab(70.87% -0.054 0.1378)
OKLCHoklch(70.87% 0.148 111.4)
XYZxyz(29.9534, 36.4750, 6.7586)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A91F #231FA9
analogous
#A9681F #A5A91F #60A91F
triadic
#A5A91F #1FA5A9 #A91FA5
tetradic
#A5A91F #1FA968 #231FA9 #A91F60
square
#A5A91F #1FA968 #231FA9 #A91F60
split-complementary
#A5A91F #1F60A9 #681FA9
monochromatic
#40420C #737516 #A5A91F #D3D82D #DEE260

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5a91f;
/* rgb */ color: rgb(165, 169, 31);
/* oklch */ color: oklch(70.9% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c269',
    500: '#a5a91f',
    950: '#000000',
  },
}
SCSS
$custom: #a5a91f;
$custom-light: #c4c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a91f",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 61.739,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70868,
    "c": 0.14798,
    "h": 111.4
  },
  "luminance": 0.36474
}

Semantic roles & 50–950 ramp

primary
#A5A91F
secondary
#605DC7
accent
#3CEC41
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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