#A99B21#A99B21

#A99B21 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.1% C 0.133 H 102.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A99B21
RGBrgb(169, 155, 33)
HSLhsl(54, 67%, 40%)
HSVhsv(54, 80%, 66%)
CMYKcmyk(0%, 8.3%, 80.5%, 33.7%)
CIE-LABlab(63.33, -7.85, 60.17)
CIE-LCHlch(63.33, 60.68, 97.43°)
OKLaboklab(68.12% -0.0286 0.1303)
OKLCHoklch(68.12% 0.133 102.4)
XYZxyz(28.3594, 31.9888, 6.1192)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A99B21 #212FA9
analogous
#A95721 #A99B21 #73A921
triadic
#A99B21 #21A99B #9B21A9
tetradic
#A99B21 #21A957 #212FA9 #A92173
square
#A99B21 #21A957 #212FA9 #A92173
split-complementary
#A99B21 #2173A9 #5721A9
monochromatic
#433D0D #766C17 #A99B21 #D7C631 #E1D464

Accessibility & contrast

On white

2.84
#A99B21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#A99B21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A99B21
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A99B21#FFFFFF#000000##000000
##A99B211.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#B68F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a99b21;
/* rgb */ color: rgb(169, 155, 33);
/* oklch */ color: oklch(68.1% 0.133 102.4);
Tailwind
colors: {
  custom: {
    50: '#c7b868',
    500: '#a99b21',
    950: '#000000',
  },
}
SCSS
$custom: #a99b21;
$custom-light: #c7b868;
$custom-dark: #000000;
JSON
{
  "hex": "#a99b21",
  "rgb": {
    "r": 169,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 53.824,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68124,
    "c": 0.13344,
    "h": 102.4
  },
  "luminance": 0.31988
}

Semantic roles & 50–950 ramp

primary
#A99B21
secondary
#606AC6
accent
#4FEA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A99B21

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

Preview Lab → · Contrast checker → · Palette generator →

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