#A5A028#A5A028

#A5A028 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.135 H 107.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A5A028
RGBrgb(165, 160, 40)
HSLhsl(58, 61%, 40%)
HSVhsv(58, 76%, 65%)
CMYKcmyk(0%, 3%, 75.8%, 35.3%)
CIE-LABlab(64.40, -12.00, 58.75)
CIE-LCHlch(64.40, 59.96, 101.54°)
OKLaboklab(68.9% -0.0394 0.1288)
OKLCHoklch(68.9% 0.135 107)
XYZxyz(28.4720, 33.2952, 6.9339)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A028 #282DA5
analogous
#A56128 #A5A028 #6BA528
triadic
#A5A028 #28A5A0 #A028A5
tetradic
#A5A028 #28A561 #282DA5 #A5286B
square
#A5A028 #28A561 #282DA5 #A5286B
split-complementary
#A5A028 #286BA5 #6128A5
monochromatic
#424010 #74701C #A5A028 #CFC93B #DBD76C

Accessibility & contrast

On white

2.74
#A5A028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A5A028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A028
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A028#FFFFFF#000000##000000
##A5A0281.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0D
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#B19589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a028;
/* rgb */ color: rgb(165, 160, 40);
/* oklch */ color: oklch(68.9% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3bb6c',
    500: '#a5a028',
    950: '#000000',
  },
}
SCSS
$custom: #a5a028;
$custom-light: #c3bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a028",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 57.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.13473,
    "h": 107
  },
  "luminance": 0.33294
}

Semantic roles & 50–950 ramp

primary
#A5A028
secondary
#676BC2
accent
#4AE444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5A028

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

Preview Lab → · Contrast checker → · Palette generator →

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