#A29226#A29226

#A29226 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.5% C 0.124 H 100.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A29226
RGBrgb(162, 146, 38)
HSLhsl(52, 62%, 39%)
HSVhsv(52, 77%, 64%)
CMYKcmyk(0%, 9.9%, 76.5%, 36.5%)
CIE-LABlab(60.23, -5.97, 55.47)
CIE-LCHlch(60.23, 55.79, 96.15°)
OKLaboklab(65.51% -0.0225 0.1216)
OKLCHoklch(65.51% 0.124 100.5)
XYZxyz(25.5303, 28.3803, 5.9665)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29226 #2636A2
analogous
#A25426 #A29226 #74A226
triadic
#A29226 #26A292 #9226A2
tetradic
#A29226 #26A254 #2636A2 #A22674
square
#A29226 #26A254 #2636A2 #A22674
split-complementary
#A29226 #2674A2 #5426A2
monochromatic
#3F390F #70651A #A29226 #D0BC35 #DBCC67

Accessibility & contrast

On white

3.15
#A29226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A29226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A29226
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29226#FFFFFF#000000##000000
##A292261.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E10
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#AF877D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a29226;
/* rgb */ color: rgb(162, 146, 38);
/* oklch */ color: oklch(65.5% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#c1b169',
    500: '#a29226',
    950: '#000000',
  },
}
SCSS
$custom: #a29226;
$custom-light: #c1b169;
$custom-dark: #000000;
JSON
{
  "hex": "#a29226",
  "rgb": {
    "r": 162,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 52.258,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65514,
    "c": 0.12365,
    "h": 100.5
  },
  "luminance": 0.28379
}

Semantic roles & 50–950 ramp

primary
#A29226
secondary
#636FC1
accent
#58E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A29226

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

Preview Lab → · Contrast checker → · Palette generator →

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