#A5B52C#A5B52C

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

Color values

HEX#A5B52C
RGBrgb(165, 181, 44)
HSLhsl(67, 61%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.8%, 0%, 75.7%, 29%)
CIE-LABlab(70.34, -22.51, 62.95)
CIE-LCHlch(70.34, 66.86, 109.68°)
OKLaboklab(73.66% -0.0683 0.1385)
OKLCHoklch(73.66% 0.154 116.3)
XYZxyz(32.4964, 41.2294, 8.6286)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52C #3C2CB5
analogous
#B5812C #A5B52C #61B52C
triadic
#A5B52C #2CA5B5 #B52CA5
tetradic
#A5B52C #2CB581 #3C2CB5 #B52C61
square
#A5B52C #2CB581 #3C2CB5 #B52C61
split-complementary
#A5B52C #2C61B5 #812CB5
monochromatic
#4B5314 #788420 #A5B52C #C3D34B #D4DF7C

Accessibility & contrast

On white

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

On black

9.25
#A5B52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B52C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B52C#FFFFFF#000000##000000
##A5B52C1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b52c;
/* rgb */ color: rgb(165, 181, 44);
/* oklch */ color: oklch(73.7% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3cb70',
    500: '#a5b52c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52c;
$custom-light: #c3cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52c",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 67.007,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.15439,
    "h": 116.3
  },
  "luminance": 0.41229
}

Semantic roles & 50–950 ramp

primary
#A5B52C
secondary
#7F75C8
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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