#A5B52B#A5B52B

#A5B52B is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.155 H 116.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5B52B
RGBrgb(165, 181, 43)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.8%, 0%, 76.2%, 29%)
CIE-LABlab(70.33, -22.56, 63.27)
CIE-LCHlch(70.33, 67.17, 109.62°)
OKLaboklab(73.65% -0.0685 0.139)
OKLCHoklch(73.65% 0.155 116.2)
XYZxyz(32.4778, 41.2220, 8.5308)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52B #3B2BB5
analogous
#B5802B #A5B52B #60B52B
triadic
#A5B52B #2BA5B5 #B52BA5
tetradic
#A5B52B #2BB580 #3B2BB5 #B52B60
square
#A5B52B #2BB580 #3B2BB5 #B52B60
split-complementary
#A5B52B #2B60B5 #802BB5
monochromatic
#4B5214 #78841F #A5B52B #C4D449 #D4E07B

Accessibility & contrast

On white

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

On black

9.24
#A5B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B52B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B52B#FFFFFF#000000##000000
##A5B52B1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB06
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b52b;
/* rgb */ color: rgb(165, 181, 43);
/* oklch */ color: oklch(73.7% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c3cb70',
    500: '#a5b52b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52b;
$custom-light: #c3cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52b",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 66.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.15493,
    "h": 116.2
  },
  "luminance": 0.41221
}

Semantic roles & 50–950 ramp

primary
#A5B52B
secondary
#7E74C8
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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