#A5B932#A5B932

#A5B932 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.155 H 117.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A5B932
RGBrgb(165, 185, 50)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 73%, 73%)
CMYKcmyk(10.8%, 0%, 73%, 27.5%)
CIE-LABlab(71.51, -24.20, 62.04)
CIE-LCHlch(71.51, 66.59, 111.31°)
OKLaboklab(74.61% -0.0724 0.1376)
OKLCHoklch(74.61% 0.155 117.8)
XYZxyz(33.4425, 42.9279, 9.5412)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B932 #4632B9
analogous
#B98932 #A5B932 #61B932
triadic
#A5B932 #32A5B9 #B932A5
tetradic
#A5B932 #32B989 #4632B9 #B93261
square
#A5B932 #32B989 #4632B9 #B93261
split-complementary
#A5B932 #3261B9 #8932B9
monochromatic
#4F5918 #7A8925 #A5B932 #BFD257 #D2DF87

Accessibility & contrast

On white

2.19
#A5B932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#A5B932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B932
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B932#FFFFFF#000000##000000
##A5B9321.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF17
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b932;
/* rgb */ color: rgb(165, 185, 50);
/* oklch */ color: oklch(74.6% 0.155 117.8);
Tailwind
colors: {
  custom: {
    50: '#c3ce74',
    500: '#a5b932',
    950: '#000000',
  },
}
SCSS
$custom: #a5b932;
$custom-light: #c3ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b932",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 68.889,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.15548,
    "h": 117.8
  },
  "luminance": 0.42928
}

Semantic roles & 50–950 ramp

primary
#A5B932
secondary
#897FC8
accent
#47E15E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B932

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

Preview Lab → · Contrast checker → · Palette generator →

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