#A5A232#A5A232

#A5A232 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.130 H 107.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A5A232
RGBrgb(165, 162, 50)
HSLhsl(58, 53%, 42%)
HSVhsv(58, 70%, 65%)
CMYKcmyk(0%, 1.8%, 69.7%, 35.3%)
CIE-LABlab(65.02, -12.56, 55.69)
CIE-LCHlch(65.02, 57.09, 102.71°)
OKLaboklab(69.41% -0.04 0.1242)
OKLCHoklch(69.41% 0.13 107.8)
XYZxyz(29.0142, 34.0712, 8.0650)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A232 #3235A5
analogous
#A56932 #A5A232 #6EA532
triadic
#A5A232 #32A5A2 #A232A5
tetradic
#A5A232 #32A569 #3235A5 #A5326E
square
#A5A232 #32A569 #3235A5 #A5326E
split-complementary
#A5A232 #326EA5 #6932A5
monochromatic
#474616 #767424 #A5A232 #C9C54C #D7D47B

Accessibility & contrast

On white

2.69
#A5A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A5A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A232
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A232#FFFFFF#000000##000000
##A5A2321.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C20
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a232;
/* rgb */ color: rgb(165, 162, 50);
/* oklch */ color: oklch(69.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#c3bd71',
    500: '#a5a232',
    950: '#000000',
  },
}
SCSS
$custom: #a5a232;
$custom-light: #c3bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a232",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 58.435,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69412,
    "c": 0.13049,
    "h": 107.8
  },
  "luminance": 0.3407
}

Semantic roles & 50–950 ramp

primary
#A5A232
secondary
#7375BF
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A232

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

Preview Lab → · Contrast checker → · Palette generator →

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