#A29F31#A29F31

#A29F31 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.5% C 0.129 H 107.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A29F31
RGBrgb(162, 159, 49)
HSLhsl(58, 54%, 41%)
HSVhsv(58, 70%, 64%)
CMYKcmyk(0%, 1.9%, 69.8%, 36.5%)
CIE-LABlab(63.92, -12.36, 54.90)
CIE-LCHlch(63.92, 56.28, 102.69°)
OKLaboklab(68.47% -0.0394 0.1225)
OKLCHoklch(68.47% 0.129 107.8)
XYZxyz(27.8538, 32.7003, 7.7497)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29F31 #3134A2
analogous
#A26731 #A29F31 #6DA231
triadic
#A29F31 #31A29F #9F31A2
tetradic
#A29F31 #31A267 #3134A2 #A2316D
square
#A29F31 #31A267 #3134A2 #A2316D
split-complementary
#A29F31 #316DA2 #6731A2
monochromatic
#444315 #737123 #A29F31 #C8C448 #D6D377

Accessibility & contrast

On white

2.79
#A29F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A29F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A29F31
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29F31#FFFFFF#000000##000000
##A29F311.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a29f31;
/* rgb */ color: rgb(162, 159, 49);
/* oklch */ color: oklch(68.5% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#c1bb70',
    500: '#a29f31',
    950: '#000000',
  },
}
SCSS
$custom: #a29f31;
$custom-light: #c1bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a29f31",
  "rgb": {
    "r": 162,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 58.407,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6847,
    "c": 0.12863,
    "h": 107.8
  },
  "luminance": 0.32699
}

Semantic roles & 50–950 ramp

primary
#A29F31
secondary
#7173BE
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A29F31

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

Preview Lab → · Contrast checker → · Palette generator →

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