#A5A033#A5A033

#A5A033 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.128 H 106.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A5A033
RGBrgb(165, 160, 51)
HSLhsl(57, 53%, 42%)
HSVhsv(57, 69%, 65%)
CMYKcmyk(0%, 3%, 69.1%, 35.3%)
CIE-LABlab(64.47, -11.46, 54.75)
CIE-LCHlch(64.47, 55.94, 101.82°)
OKLaboklab(68.97% -0.0368 0.1224)
OKLCHoklch(68.97% 0.128 106.7)
XYZxyz(28.6865, 33.3809, 8.0634)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A033 #3338A5
analogous
#A56733 #A5A033 #71A533
triadic
#A5A033 #33A5A0 #A033A5
tetradic
#A5A033 #33A567 #3338A5 #A53371
square
#A5A033 #33A567 #3338A5 #A53371
split-complementary
#A5A033 #3371A5 #6733A5
monochromatic
#484516 #767325 #A5A033 #C8C34D #D6D37C

Accessibility & contrast

On white

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

On black

7.68
#A5A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A033
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A033#FFFFFF#000000##000000
##A5A0331.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A23
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a033;
/* rgb */ color: rgb(165, 160, 51);
/* oklch */ color: oklch(69.0% 0.128 106.7);
Tailwind
colors: {
  custom: {
    50: '#c3bb71',
    500: '#a5a033',
    950: '#000000',
  },
}
SCSS
$custom: #a5a033;
$custom-light: #c3bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a033",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 57.368,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68975,
    "c": 0.12779,
    "h": 106.7
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

primary
#A5A033
secondary
#7578BF
accent
#52DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A033

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

Preview Lab → · Contrast checker → · Palette generator →

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