#A5A333#A5A333

#A5A333 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.131 H 108.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A5A333
RGBrgb(165, 163, 51)
HSLhsl(59, 53%, 42%)
HSVhsv(59, 69%, 65%)
CMYKcmyk(0%, 1.2%, 69.1%, 35.3%)
CIE-LABlab(65.31, -13.03, 55.59)
CIE-LCHlch(65.31, 57.09, 103.19°)
OKLaboklab(69.64% -0.0412 0.1242)
OKLCHoklch(69.64% 0.131 108.4)
XYZxyz(29.2128, 34.4336, 8.2389)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A333 #3335A5
analogous
#A56A33 #A5A333 #6EA533
triadic
#A5A333 #33A5A3 #A333A5
tetradic
#A5A333 #33A56A #3335A5 #A5336E
square
#A5A333 #33A56A #3335A5 #A5336E
split-complementary
#A5A333 #336EA5 #6A33A5
monochromatic
#484716 #767525 #A5A333 #C8C64D #D6D57C

Accessibility & contrast

On white

2.66
#A5A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A5A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A333
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A333#FFFFFF#000000##000000
##A5A3331.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a333;
/* rgb */ color: rgb(165, 163, 51);
/* oklch */ color: oklch(69.6% 0.131 108.4);
Tailwind
colors: {
  custom: {
    50: '#c3be72',
    500: '#a5a333',
    950: '#000000',
  },
}
SCSS
$custom: #a5a333;
$custom-light: #c3be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a333",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 58.947,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69643,
    "c": 0.13081,
    "h": 108.4
  },
  "luminance": 0.34433
}

Semantic roles & 50–950 ramp

primary
#A5A333
secondary
#7576BF
accent
#4EDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A333

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

Preview Lab → · Contrast checker → · Palette generator →

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