#A5B327#A5B327

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

Color values

HEX#A5B327
RGBrgb(165, 179, 39)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 70%)
CMYKcmyk(7.8%, 0%, 78.2%, 29.8%)
CIE-LABlab(69.74, -21.74, 63.97)
CIE-LCHlch(69.74, 67.56, 108.77°)
OKLaboklab(73.17% -0.0665 0.1398)
OKLCHoklch(73.17% 0.155 115.5)
XYZxyz(32.0043, 40.3866, 8.0285)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B327 #3527B3
analogous
#B37B27 #A5B327 #5FB327
triadic
#A5B327 #27A5B3 #B327A5
tetradic
#A5B327 #27B37B #3527B3 #B3275F
square
#A5B327 #27B37B #3527B3 #B3275F
split-complementary
#A5B327 #275FB3 #7B27B3
monochromatic
#484E11 #77811C #A5B327 #C7D641 #D6E174

Accessibility & contrast

On white

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

On black

9.08
#A5B327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B327
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B327#FFFFFF#000000##000000
##A5B3271.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b327;
/* rgb */ color: rgb(165, 179, 39);
/* oklch */ color: oklch(73.2% 0.155 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c96e',
    500: '#a5b327',
    950: '#000000',
  },
}
SCSS
$custom: #a5b327;
$custom-light: #c3c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b327",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 66,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.15478,
    "h": 115.5
  },
  "luminance": 0.40386
}

Semantic roles & 50–950 ramp

primary
#A5B327
secondary
#776EC8
accent
#41E751
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B327

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

Preview Lab → · Contrast checker → · Palette generator →

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