#A5A02C#A5A02C

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

Color values

HEX#A5A02C
RGBrgb(165, 160, 44)
HSLhsl(58, 58%, 41%)
HSVhsv(58, 73%, 65%)
CMYKcmyk(0%, 3%, 73.3%, 35.3%)
CIE-LABlab(64.42, -11.82, 57.37)
CIE-LCHlch(64.42, 58.57, 101.64°)
OKLaboklab(68.92% -0.0385 0.1267)
OKLCHoklch(68.92% 0.132 106.9)
XYZxyz(28.5436, 33.3238, 7.3110)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A02C #2C31A5
analogous
#A5632C #A5A02C #6DA52C
triadic
#A5A02C #2CA5A0 #A02CA5
tetradic
#A5A02C #2CA563 #2C31A5 #A52C6D
square
#A5A02C #2CA563 #2C31A5 #A52C6D
split-complementary
#A5A02C #2C6DA5 #632CA5
monochromatic
#444212 #75711F #A5A02C #CDC742 #D9D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A02C#FFFFFF#000000##000000
##A5A02C1.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)
#AE9A16
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a02c;
/* rgb */ color: rgb(165, 160, 44);
/* oklch */ color: oklch(68.9% 0.132 106.9);
Tailwind
colors: {
  custom: {
    50: '#c3bb6e',
    500: '#a5a02c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a02c;
$custom-light: #c3bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a02c",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 57.521,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68924,
    "c": 0.13238,
    "h": 106.9
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#A5A02C
secondary
#6C70C1
accent
#4DE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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