#A99F40#A99F40

#A99F40 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.116 H 103.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A99F40
RGBrgb(169, 159, 64)
HSLhsl(54, 45%, 46%)
HSVhsv(54, 62%, 66%)
CMYKcmyk(0%, 5.9%, 62.1%, 33.7%)
CIE-LABlab(64.65, -8.37, 49.50)
CIE-LCHlch(64.65, 50.20, 99.59°)
OKLaboklab(69.24% -0.0268 0.1133)
OKLCHoklch(69.24% 0.116 103.3)
XYZxyz(29.6868, 33.6026, 9.7717)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A99F40 #404AA9
analogous
#A96A40 #A99F40 #7EA940
triadic
#A99F40 #40A99F #9F40A9
tetradic
#A99F40 #40A96A #404AA9 #A9407E
square
#A99F40 #40A96A #404AA9 #A9407E
split-complementary
#A99F40 #407EA9 #6A40A9
monochromatic
#504B1E #7D752F #A99F40 #C4BA62 #D5CE8F

Accessibility & contrast

On white

2.72
#A99F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A99F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A99F40
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A99F40#FFFFFF#000000##000000
##A99F401.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#B5958B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a99f40;
/* rgb */ color: rgb(169, 159, 64);
/* oklch */ color: oklch(69.2% 0.116 103.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb79',
    500: '#a99f40',
    950: '#000000',
  },
}
SCSS
$custom: #a99f40;
$custom-light: #c5bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#a99f40",
  "rgb": {
    "r": 169,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 54.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.11638,
    "h": 103.3
  },
  "luminance": 0.33601
}

Semantic roles & 50–950 ramp

primary
#A99F40
secondary
#858BC0
accent
#5FD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A99F40

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

Preview Lab → · Contrast checker → · Palette generator →

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