#A5B533#A5B533

#A5B533 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.150 H 116.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A5B533
RGBrgb(165, 181, 51)
HSLhsl(67, 56%, 45%)
HSVhsv(67, 72%, 71%)
CMYKcmyk(8.8%, 0%, 71.8%, 29%)
CIE-LABlab(70.38, -22.17, 60.59)
CIE-LCHlch(70.38, 64.52, 110.10°)
OKLaboklab(73.7% -0.0667 0.1347)
OKLCHoklch(73.7% 0.15 116.4)
XYZxyz(32.6393, 41.2865, 9.3810)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B533 #4333B5
analogous
#B58433 #A5B533 #64B533
triadic
#A5B533 #33A5B5 #B533A5
tetradic
#A5B533 #33B584 #4333B5 #B53364
square
#A5B533 #33B584 #4333B5 #B53364
split-complementary
#A5B533 #3364B5 #8433B5
monochromatic
#4E5618 #798526 #A5B533 #C0CF56 #D2DD86

Accessibility & contrast

On white

2.27
#A5B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A5B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B533
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B533#FFFFFF#000000##000000
##A5B5331.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB1B
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b533;
/* rgb */ color: rgb(165, 181, 51);
/* oklch */ color: oklch(73.7% 0.150 116.4);
Tailwind
colors: {
  custom: {
    50: '#c3cb74',
    500: '#a5b533',
    950: '#000000',
  },
}
SCSS
$custom: #a5b533;
$custom-light: #c3cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b533",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 67.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.15033,
    "h": 116.4
  },
  "luminance": 0.41286
}

Semantic roles & 50–950 ramp

primary
#A5B533
secondary
#867DC6
accent
#48DF5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B533

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

Preview Lab → · Contrast checker → · Palette generator →

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