#A5A33F#A5A33F

#A5A33F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.122 H 108.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A5A33F
RGBrgb(165, 163, 63)
HSLhsl(59, 45%, 45%)
HSVhsv(59, 62%, 65%)
CMYKcmyk(0%, 1.2%, 61.8%, 35.3%)
CIE-LABlab(65.40, -12.28, 50.66)
CIE-LCHlch(65.40, 52.13, 103.63°)
OKLaboklab(69.75% -0.0378 0.1157)
OKLCHoklch(69.75% 0.122 108.1)
XYZxyz(29.5124, 34.5535, 9.8165)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A33F #3F41A5
analogous
#A5703F #A5A33F #74A53F
triadic
#A5A33F #3FA5A3 #A33FA5
tetradic
#A5A33F #3FA570 #3F41A5 #A53F74
square
#A5A33F #3FA570 #3F41A5 #A53F74
split-complementary
#A5A33F #3F74A5 #703FA5
monochromatic
#4C4B1D #79772E #A5A33F #C2C05F #D3D28C

Accessibility & contrast

On white

2.65
#A5A33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A5A33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A33F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A33F#FFFFFF#000000##000000
##A5A33F1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#B1A145
Tritanopia (blue-blind)
#B0998E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a33f;
/* rgb */ color: rgb(165, 163, 63);
/* oklch */ color: oklch(69.7% 0.122 108.1);
Tailwind
colors: {
  custom: {
    50: '#c2be79',
    500: '#a5a33f',
    950: '#000000',
  },
}
SCSS
$custom: #a5a33f;
$custom-light: #c2be79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a33f",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 58.824,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69748,
    "c": 0.12169,
    "h": 108.1
  },
  "luminance": 0.34553
}

Semantic roles & 50–950 ramp

primary
#A5A33F
secondary
#8283BE
accent
#56D453
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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