#A5B326#A5B326

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

Color values

HEX#A5B326
RGBrgb(165, 179, 38)
HSLhsl(66, 65%, 43%)
HSVhsv(66, 79%, 70%)
CMYKcmyk(7.8%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.74, -21.77, 64.26)
CIE-LCHlch(69.74, 67.85, 108.72°)
OKLaboklab(73.17% -0.0667 0.1402)
OKLCHoklch(73.17% 0.155 115.4)
XYZxyz(31.9879, 40.3800, 7.9424)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B326 #3426B3
analogous
#B37A26 #A5B326 #5FB326
triadic
#A5B326 #26A5B3 #B326A5
tetradic
#A5B326 #26B37A #3426B3 #B3265F
square
#A5B326 #26B37A #3426B3 #B3265F
split-complementary
#A5B326 #265FB3 #7A26B3
monochromatic
#484E11 #76811B #A5B326 #C7D640 #D6E172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B326#FFFFFF#000000##000000
##A5B3261.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)
#BFAB33
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b326;
/* rgb */ color: rgb(165, 179, 38);
/* oklch */ color: oklch(73.2% 0.155 115.4);
Tailwind
colors: {
  custom: {
    50: '#c3c96d',
    500: '#a5b326',
    950: '#000000',
  },
}
SCSS
$custom: #a5b326;
$custom-light: #c3c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b326",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 65.957,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.15527,
    "h": 115.4
  },
  "luminance": 0.40379
}

Semantic roles & 50–950 ramp

primary
#A5B326
secondary
#766DC8
accent
#40E851
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B326

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

Preview Lab → · Contrast checker → · Palette generator →

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