#A29228#A29228

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

Color values

HEX#A29228
RGBrgb(162, 146, 40)
HSLhsl(52, 60%, 40%)
HSVhsv(52, 75%, 64%)
CMYKcmyk(0%, 9.9%, 75.3%, 36.5%)
CIE-LABlab(60.24, -5.88, 54.75)
CIE-LCHlch(60.24, 55.07, 96.13°)
OKLaboklab(65.53% -0.022 0.1205)
OKLCHoklch(65.53% 0.122 100.4)
XYZxyz(25.5634, 28.3936, 6.1411)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29228 #2838A2
analogous
#A25528 #A29228 #75A228
triadic
#A29228 #28A292 #9228A2
tetradic
#A29228 #28A255 #2838A2 #A22875
square
#A29228 #28A255 #2838A2 #A22875
split-complementary
#A29228 #2875A2 #5528A2
monochromatic
#403A10 #71661C #A29228 #CEBB39 #DACC6A

Accessibility & contrast

On white

3.14
#A29228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A29228#FFFFFF#000000##000000
##A292281.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E14
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#AF877E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a29228;
/* rgb */ color: rgb(162, 146, 40);
/* oklch */ color: oklch(65.5% 0.122 100.4);
Tailwind
colors: {
  custom: {
    50: '#c1b16a',
    500: '#a29228',
    950: '#000000',
  },
}
SCSS
$custom: #a29228;
$custom-light: #c1b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a29228",
  "rgb": {
    "r": 162,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 52.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.12247,
    "h": 100.4
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#A29228
secondary
#6571C1
accent
#59E444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A29228

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

Preview Lab → · Contrast checker → · Palette generator →

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