#A5B02B#A5B02B

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

Color values

HEX#A5B02B
RGBrgb(165, 176, 43)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 76%, 69%)
CMYKcmyk(6.2%, 0%, 75.6%, 31%)
CIE-LABlab(68.91, -20.07, 61.95)
CIE-LCHlch(68.91, 65.12, 107.95°)
OKLaboklab(72.51% -0.0616 0.1362)
OKLCHoklch(72.51% 0.149 114.3)
XYZxyz(31.4794, 39.2250, 8.1979)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B02B #362BB0
analogous
#B0782B #A5B02B #63B02B
triadic
#A5B02B #2BA5B0 #B02BA5
tetradic
#A5B02B #2BB078 #362BB0 #B02B63
square
#A5B02B #2BB078 #362BB0 #B02B63
split-complementary
#A5B02B #2B63B0 #782BB0
monochromatic
#494E13 #777F1F #A5B02B #C6D246 #D5DE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B02B#FFFFFF#000000##000000
##A5B02B1.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)
#BDA70A
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b02b;
/* rgb */ color: rgb(165, 176, 43);
/* oklch */ color: oklch(72.5% 0.149 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76f',
    500: '#a5b02b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b02b;
$custom-light: #c3c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b02b",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 64.962,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.14947,
    "h": 114.3
  },
  "luminance": 0.39224
}

Semantic roles & 50–950 ramp

primary
#A5B02B
secondary
#7871C6
accent
#44E451
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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