#A99B40#A99B40

#A99B40 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.113 H 100.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A99B40
RGBrgb(169, 155, 64)
HSLhsl(52, 45%, 46%)
HSVhsv(52, 62%, 66%)
CMYKcmyk(0%, 8.3%, 62.1%, 33.7%)
CIE-LABlab(63.55, -6.23, 48.30)
CIE-LCHlch(63.55, 48.70, 97.35°)
OKLaboklab(68.36% -0.0207 0.1107)
OKLCHoklch(68.36% 0.113 100.6)
XYZxyz(29.0101, 32.2491, 9.5461)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A99B40 #404EA9
analogous
#A96640 #A99B40 #82A940
triadic
#A99B40 #40A99B #9B40A9
tetradic
#A99B40 #40A966 #404EA9 #A94082
square
#A99B40 #40A966 #404EA9 #A94082
split-complementary
#A99B40 #4082A9 #6640A9
monochromatic
#504A1E #7D722F #A99B40 #C4B762 #D5CB8F

Accessibility & contrast

On white

2.82
#A99B40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#A99B40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A99B40
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A99B40#FFFFFF#000000##000000
##A99B401.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99736
Deuteranopia (green-blind)
#AD9C45
Tritanopia (blue-blind)
#B59187
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a99b40;
/* rgb */ color: rgb(169, 155, 64);
/* oklch */ color: oklch(68.4% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#c5b879',
    500: '#a99b40',
    950: '#000000',
  },
}
SCSS
$custom: #a99b40;
$custom-light: #c5b879;
$custom-dark: #000000;
JSON
{
  "hex": "#a99b40",
  "rgb": {
    "r": 169,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 52,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68363,
    "c": 0.11262,
    "h": 100.6
  },
  "luminance": 0.32248
}

Semantic roles & 50–950 ramp

primary
#A99B40
secondary
#858DC0
accent
#64D553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A99B40

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

Preview Lab → · Contrast checker → · Palette generator →

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