#A49228#A49228

#A49228 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.7% C 0.122 H 99.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A49228
RGBrgb(164, 146, 40)
HSLhsl(51, 61%, 40%)
HSVhsv(51, 76%, 64%)
CMYKcmyk(0%, 11%, 75.6%, 35.7%)
CIE-LABlab(60.43, -4.98, 55.00)
CIE-LCHlch(60.43, 55.22, 95.18°)
OKLaboklab(65.72% -0.0196 0.1209)
OKLCHoklch(65.72% 0.122 99.2)
XYZxyz(25.9730, 28.6048, 6.1603)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A49228 #283AA4
analogous
#A45428 #A49228 #78A428
triadic
#A49228 #28A492 #9228A4
tetradic
#A49228 #28A454 #283AA4 #A42878
square
#A49228 #28A454 #283AA4 #A42878
split-complementary
#A49228 #2878A4 #5428A4
monochromatic
#423A10 #73661C #A49228 #CFB93A #DBCB6B

Accessibility & contrast

On white

3.12
#A49228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A49228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A49228
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A49228#FFFFFF#000000##000000
##A492281.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E14
Deuteranopia (green-blind)
#A6942F
Tritanopia (blue-blind)
#B1877E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a49228;
/* rgb */ color: rgb(164, 146, 40);
/* oklch */ color: oklch(65.7% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#c3b16a',
    500: '#a49228',
    950: '#000000',
  },
}
SCSS
$custom: #a49228;
$custom-light: #c3b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a49228",
  "rgb": {
    "r": 164,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 51.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.12248,
    "h": 99.2
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

primary
#A49228
secondary
#6674C1
accent
#5BE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A49228

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

Preview Lab → · Contrast checker → · Palette generator →

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