#A5B033#A5B033

#A5B033 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.145 H 114.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A5B033
RGBrgb(165, 176, 51)
HSLhsl(65, 55%, 45%)
HSVhsv(65, 71%, 69%)
CMYKcmyk(6.2%, 0%, 71%, 31%)
CIE-LABlab(68.96, -19.68, 59.21)
CIE-LCHlch(68.96, 62.39, 108.39°)
OKLaboklab(72.57% -0.0598 0.1318)
OKLCHoklch(72.57% 0.145 114.4)
XYZxyz(31.6408, 39.2896, 9.0482)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B033 #3E33B0
analogous
#B07D33 #A5B033 #67B033
triadic
#A5B033 #33A5B0 #B033A5
tetradic
#A5B033 #33B07D #3E33B0 #B03367
square
#A5B033 #33B07D #3E33B0 #B03367
split-complementary
#A5B033 #3367B0 #7D33B0
monochromatic
#4C5118 #798125 #A5B033 #C2CD53 #D3DB82

Accessibility & contrast

On white

2.37
#A5B033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A5B033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B033
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B033#FFFFFF#000000##000000
##A5B0331.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71D
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#B0A698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b033;
/* rgb */ color: rgb(165, 176, 51);
/* oklch */ color: oklch(72.6% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c773',
    500: '#a5b033',
    950: '#000000',
  },
}
SCSS
$custom: #a5b033;
$custom-light: #c3c773;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b033",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 51
  },
  "hsl": {
    "h": 65.28,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.14471,
    "h": 114.4
  },
  "luminance": 0.39289
}

Semantic roles & 50–950 ramp

primary
#A5B033
secondary
#817BC4
accent
#49DE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B033

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

Preview Lab → · Contrast checker → · Palette generator →

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