#A5B32F#A5B32F

#A5B32F is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.150 H 115.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A5B32F
RGBrgb(165, 179, 47)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.8%, 0%, 73.7%, 29.8%)
CIE-LABlab(69.79, -21.38, 61.43)
CIE-LCHlch(69.79, 65.04, 109.19°)
OKLaboklab(73.22% -0.0649 0.1358)
OKLCHoklch(73.22% 0.15 115.5)
XYZxyz(32.1511, 40.4453, 8.8018)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B32F #3D2FB3
analogous
#B37F2F #A5B32F #63B32F
triadic
#A5B32F #2FA5B3 #B32FA5
tetradic
#A5B32F #2FB37F #3D2FB3 #B32F63
square
#A5B32F #2FB37F #3D2FB3 #B32F63
split-complementary
#A5B32F #2F63B3 #7F2FB3
monochromatic
#4C5216 #788322 #A5B32F #C3D14F #D3DD7F

Accessibility & contrast

On white

2.31
#A5B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A5B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B32F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B32F#FFFFFF#000000##000000
##A5B32F1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA14
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b32f;
/* rgb */ color: rgb(165, 179, 47);
/* oklch */ color: oklch(73.2% 0.150 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c971',
    500: '#a5b32f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b32f;
$custom-light: #c3c971;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b32f",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 66.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7322,
    "c": 0.15049,
    "h": 115.5
  },
  "luminance": 0.40445
}

Semantic roles & 50–950 ramp

primary
#A5B32F
secondary
#8078C6
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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