#A29828#A29828

#A29828 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.128 H 104.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A29828
RGBrgb(162, 152, 40)
HSLhsl(55, 60%, 40%)
HSVhsv(55, 75%, 64%)
CMYKcmyk(0%, 6.2%, 75.3%, 36.5%)
CIE-LABlab(61.91, -9.10, 56.33)
CIE-LCHlch(61.91, 57.06, 99.18°)
OKLaboklab(66.85% -0.0311 0.1238)
OKLCHoklch(66.85% 0.128 104.1)
XYZxyz(26.5127, 30.2921, 6.4575)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29828 #2832A2
analogous
#A25B28 #A29828 #6FA228
triadic
#A29828 #28A298 #9828A2
tetradic
#A29828 #28A25B #2832A2 #A2286F
square
#A29828 #28A25B #2832A2 #A2286F
split-complementary
#A29828 #286FA2 #5B28A2
monochromatic
#403C10 #716A1C #A29828 #CEC239 #DAD16A

Accessibility & contrast

On white

2.98
#A29828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A29828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A29828
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29828#FFFFFF#000000##000000
##A298281.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#AE8D83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a29828;
/* rgb */ color: rgb(162, 152, 40);
/* oklch */ color: oklch(66.8% 0.128 104.1);
Tailwind
colors: {
  custom: {
    50: '#c1b66b',
    500: '#a29828',
    950: '#000000',
  },
}
SCSS
$custom: #a29828;
$custom-light: #c1b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a29828",
  "rgb": {
    "r": 162,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 55.082,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66848,
    "c": 0.12765,
    "h": 104.1
  },
  "luminance": 0.30291
}

Semantic roles & 50–950 ramp

primary
#A29828
secondary
#656DC1
accent
#51E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A29828

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

Preview Lab → · Contrast checker → · Palette generator →

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