#A5B33A#A5B33A

#A5B33A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.143 H 115.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A5B33A
RGBrgb(165, 179, 58)
HSLhsl(67, 51%, 46%)
HSVhsv(67, 68%, 70%)
CMYKcmyk(7.8%, 0%, 67.6%, 29.8%)
CIE-LABlab(69.86, -20.79, 57.43)
CIE-LCHlch(69.86, 61.08, 109.90°)
OKLaboklab(73.3% -0.0622 0.1292)
OKLCHoklch(73.3% 0.143 115.7)
XYZxyz(32.4017, 40.5455, 10.1213)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B33A #483AB3
analogous
#B3853A #A5B33A #69B33A
triadic
#A5B33A #3AA5B3 #B33AA5
tetradic
#A5B33A #3AB385 #483AB3 #B33A69
square
#A5B33A #3AB385 #483AB3 #B33A69
split-complementary
#A5B33A #3A69B3 #853AB3
monochromatic
#50571C #7A852B #A5B33A #BFCB5F #D1DA8D

Accessibility & contrast

On white

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

On black

9.11
#A5B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B33A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B33A#FFFFFF#000000##000000
##A5B33A1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA28
Deuteranopia (green-blind)
#BEAC43
Tritanopia (blue-blind)
#AFA99B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b33a;
/* rgb */ color: rgb(165, 179, 58);
/* oklch */ color: oklch(73.3% 0.143 115.7);
Tailwind
colors: {
  custom: {
    50: '#c3c977',
    500: '#a5b33a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b33a;
$custom-light: #c3c977;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b33a",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 66.942,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.733,
    "c": 0.14339,
    "h": 115.7
  },
  "luminance": 0.40545
}

Semantic roles & 50–950 ramp

primary
#A5B33A
secondary
#8C84C5
accent
#4DDB5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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