#A2A91F#A2A91F

#A2A91F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.149 H 112.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A2A91F
RGBrgb(162, 169, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 82%, 66%)
CMYKcmyk(4.1%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.64, -18.30, 63.41)
CIE-LCHlch(66.64, 65.99, 106.10°)
OKLaboklab(70.62% -0.0575 0.1373)
OKLCHoklch(70.62% 0.149 112.7)
XYZxyz(29.3366, 36.1569, 6.7297)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A91F #261FA9
analogous
#A96B1F #A2A91F #5DA91F
triadic
#A2A91F #1FA2A9 #A91FA2
tetradic
#A2A91F #1FA96B #261FA9 #A91F5D
square
#A2A91F #1FA96B #261FA9 #A91F5D
split-complementary
#A2A91F #1F5DA9 #6B1FA9
monochromatic
#3F420C #707516 #A2A91F #D0D82D #DBE260

Accessibility & contrast

On white

2.55
#A2A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A2A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A91F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A91F#FFFFFF#000000##000000
##A2A91F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B7A32D
Tritanopia (blue-blind)
#AE9E90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a91f;
/* rgb */ color: rgb(162, 169, 31);
/* oklch */ color: oklch(70.6% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c269',
    500: '#a2a91f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a91f;
$custom-light: #c1c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a91f",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 63.043,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.14881,
    "h": 112.7
  },
  "luminance": 0.36156
}

Semantic roles & 50–950 ramp

primary
#A2A91F
secondary
#635DC7
accent
#3CEC45
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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