#A5A335#A5A335

#A5A335 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.129 H 108.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A5A335
RGBrgb(165, 163, 53)
HSLhsl(59, 51%, 43%)
HSVhsv(59, 68%, 65%)
CMYKcmyk(0%, 1.2%, 67.9%, 35.3%)
CIE-LABlab(65.32, -12.91, 54.81)
CIE-LCHlch(65.32, 56.31, 103.26°)
OKLaboklab(69.66% -0.0407 0.1229)
OKLCHoklch(69.66% 0.129 108.3)
XYZxyz(29.2579, 34.4517, 8.4761)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A335 #3537A5
analogous
#A56B35 #A5A335 #6FA535
triadic
#A5A335 #35A5A3 #A335A5
tetradic
#A5A335 #35A56B #3537A5 #A5356F
square
#A5A335 #35A56B #3537A5 #A5356F
split-complementary
#A5A335 #356FA5 #6B35A5
monochromatic
#484717 #777526 #A5A335 #C7C550 #D6D47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A335#FFFFFF#000000##000000
##A5A3351.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)
#B09C25
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a335;
/* rgb */ color: rgb(165, 163, 53);
/* oklch */ color: oklch(69.7% 0.129 108.3);
Tailwind
colors: {
  custom: {
    50: '#c3be73',
    500: '#a5a335',
    950: '#000000',
  },
}
SCSS
$custom: #a5a335;
$custom-light: #c3be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a335",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 58.929,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.1294,
    "h": 108.3
  },
  "luminance": 0.34451
}

Semantic roles & 50–950 ramp

primary
#A5A335
secondary
#7778BF
accent
#4FDB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A335

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

Preview Lab → · Contrast checker → · Palette generator →

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