#A5B320#A5B320

#A5B320 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.158 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A5B320
RGBrgb(165, 179, 32)
HSLhsl(66, 70%, 41%)
HSVhsv(66, 82%, 70%)
CMYKcmyk(7.8%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.71, -21.99, 65.90)
CIE-LCHlch(69.71, 69.47, 108.45°)
OKLaboklab(73.14% -0.0677 0.1427)
OKLCHoklch(73.14% 0.158 115.4)
XYZxyz(31.8988, 40.3444, 7.4731)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B320 #2E20B3
analogous
#B37820 #A5B320 #5CB320
triadic
#A5B320 #20A5B3 #B320A5
tetradic
#A5B320 #20B378 #2E20B3 #B3205C
square
#A5B320 #20B378 #2E20B3 #B3205C
split-complementary
#A5B320 #205CB3 #7820B3
monochromatic
#454B0D #757F17 #A5B320 #CBDB35 #D9E469

Accessibility & contrast

On white

2.32
#A5B320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A5B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B320
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B320#FFFFFF#000000##000000
##A5B3201.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b320;
/* rgb */ color: rgb(165, 179, 32);
/* oklch */ color: oklch(73.1% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#c4c96b',
    500: '#a5b320',
    950: '#000000',
  },
}
SCSS
$custom: #a5b320;
$custom-light: #c4c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b320",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 65.714,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.15793,
    "h": 115.4
  },
  "luminance": 0.40344
}

Semantic roles & 50–950 ramp

primary
#A5B320
secondary
#6F65CA
accent
#3BEC4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B320

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

Preview Lab → · Contrast checker → · Palette generator →

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