#A29F2F#A29F2F

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

Color values

HEX#A29F2F
RGBrgb(162, 159, 47)
HSLhsl(58, 55%, 41%)
HSVhsv(58, 71%, 64%)
CMYKcmyk(0%, 1.9%, 71%, 36.5%)
CIE-LABlab(63.90, -12.47, 55.66)
CIE-LCHlch(63.90, 57.04, 102.62°)
OKLaboklab(68.45% -0.0398 0.1237)
OKLCHoklch(68.45% 0.13 107.9)
XYZxyz(27.8126, 32.6838, 7.5323)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29F2F #2F32A2
analogous
#A2652F #A29F2F #6BA22F
triadic
#A29F2F #2FA29F #9F2FA2
tetradic
#A29F2F #2FA265 #2F32A2 #A22F6B
square
#A29F2F #2FA265 #2F32A2 #A22F6B
split-complementary
#A29F2F #2F6BA2 #652FA2
monochromatic
#434213 #737021 #A29F2F #C9C645 #D7D475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A29F2F#FFFFFF#000000##000000
##A29F2F1.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)
#AC991C
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a29f2f;
/* rgb */ color: rgb(162, 159, 47);
/* oklch */ color: oklch(68.5% 0.130 107.9);
Tailwind
colors: {
  custom: {
    50: '#c1bb6f',
    500: '#a29f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a29f2f;
$custom-light: #c1bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a29f2f",
  "rgb": {
    "r": 162,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 58.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.12997,
    "h": 107.9
  },
  "luminance": 0.32683
}

Semantic roles & 50–950 ramp

primary
#A29F2F
secondary
#6E70BF
accent
#4DDE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A29F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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