#A5B52F#A5B52F

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

Color values

HEX#A5B52F
RGBrgb(165, 181, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 71%)
CMYKcmyk(8.8%, 0%, 74%, 29%)
CIE-LABlab(70.35, -22.38, 61.97)
CIE-LCHlch(70.35, 65.88, 109.85°)
OKLaboklab(73.68% -0.0676 0.1369)
OKLCHoklch(73.68% 0.153 116.3)
XYZxyz(32.5549, 41.2528, 8.9364)
Luminance0.4125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52F #3F2FB5
analogous
#B5822F #A5B52F #62B52F
triadic
#A5B52F #2FA5B5 #B52FA5
tetradic
#A5B52F #2FB582 #3F2FB5 #B52F62
square
#A5B52F #2FB582 #3F2FB5 #B52F62
split-complementary
#A5B52F #2F62B5 #822FB5
monochromatic
#4C5416 #798422 #A5B52F #C2D150 #D3DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B52F#FFFFFF#000000##000000
##A5B52F1.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)
#C2AB12
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#B0AB9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b52f;
/* rgb */ color: rgb(165, 181, 47);
/* oklch */ color: oklch(73.7% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3cb72',
    500: '#a5b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52f;
$custom-light: #c3cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52f",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 67.164,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73676,
    "c": 0.15272,
    "h": 116.3
  },
  "luminance": 0.41252
}

Semantic roles & 50–950 ramp

primary
#A5B52F
secondary
#8279C7
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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