#A0A828#A0A828

#A0A828 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.144 H 113.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A0A828
RGBrgb(160, 168, 40)
HSLhsl(64, 62%, 41%)
HSVhsv(64, 76%, 66%)
CMYKcmyk(4.8%, 0%, 76.2%, 34.1%)
CIE-LABlab(66.24, -18.32, 60.31)
CIE-LCHlch(66.24, 63.03, 106.90°)
OKLaboklab(70.27% -0.0567 0.1323)
OKLCHoklch(70.27% 0.144 113.2)
XYZxyz(28.8838, 35.6327, 7.3633)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A828 #3028A8
analogous
#A87028 #A0A828 #60A828
triadic
#A0A828 #28A0A8 #A828A0
tetradic
#A0A828 #28A870 #3028A8 #A82860
square
#A0A828 #28A870 #3028A8 #A82860
split-complementary
#A0A828 #2860A8 #7028A8
monochromatic
#424510 #71771C #A0A828 #C7D13D #D6DC6E

Accessibility & contrast

On white

2.58
#A0A828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A0A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A828
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A828#FFFFFF#000000##000000
##A0A8281.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#AB9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a0a828;
/* rgb */ color: rgb(160, 168, 40);
/* oklch */ color: oklch(70.3% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#c0c16d',
    500: '#a0a828',
    950: '#000000',
  },
}
SCSS
$custom: #a0a828;
$custom-light: #c0c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a828",
  "rgb": {
    "r": 160,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 63.75,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.14398,
    "h": 113.2
  },
  "luminance": 0.35632
}

Semantic roles & 50–950 ramp

primary
#A0A828
secondary
#6E69C3
accent
#43E54D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A0A828

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

Preview Lab → · Contrast checker → · Palette generator →

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