#A5B02A#A5B02A

#A5B02A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.150 H 114.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A5B02A
RGBrgb(165, 176, 42)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 76%, 69%)
CMYKcmyk(6.2%, 0%, 76.1%, 31%)
CIE-LABlab(68.91, -20.11, 62.27)
CIE-LCHlch(68.91, 65.44, 107.90°)
OKLaboklab(72.51% -0.0618 0.1367)
OKLCHoklch(72.51% 0.15 114.3)
XYZxyz(31.4612, 39.2178, 8.1025)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B02A #352AB0
analogous
#B0782A #A5B02A #62B02A
triadic
#A5B02A #2AA5B0 #B02AA5
tetradic
#A5B02A #2AB078 #352AB0 #B02A62
square
#A5B02A #2AB078 #352AB0 #B02A62
split-complementary
#A5B02A #2A62B0 #782AB0
monochromatic
#484D12 #777F1E #A5B02A #C7D345 #D6DE76

Accessibility & contrast

On white

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

On black

8.84
#A5B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B02A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B02A#FFFFFF#000000##000000
##A5B02A1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b02a;
/* rgb */ color: rgb(165, 176, 42);
/* oklch */ color: oklch(72.5% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76f',
    500: '#a5b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b02a;
$custom-light: #c3c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b02a",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 64.925,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72508,
    "c": 0.15001,
    "h": 114.3
  },
  "luminance": 0.39217
}

Semantic roles & 50–950 ramp

primary
#A5B02A
secondary
#7770C6
accent
#43E550
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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