#A5B52D#A5B52D

#A5B52D 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#A5B52D
RGBrgb(165, 181, 45)
HSLhsl(67, 60%, 44%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.8%, 0%, 75.1%, 29%)
CIE-LABlab(70.34, -22.47, 62.63)
CIE-LCHlch(70.34, 66.54, 109.74°)
OKLaboklab(73.66% -0.0681 0.138)
OKLCHoklch(73.66% 0.154 116.3)
XYZxyz(32.5154, 41.2370, 8.7288)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52D #3D2DB5
analogous
#B5812D #A5B52D #61B52D
triadic
#A5B52D #2DA5B5 #B52DA5
tetradic
#A5B52D #2DB581 #3D2DB5 #B52D61
square
#A5B52D #2DB581 #3D2DB5 #B52D61
split-complementary
#A5B52D #2D61B5 #812DB5
monochromatic
#4C5315 #788421 #A5B52D #C3D34D #D3DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B52D#FFFFFF#000000##000000
##A5B52D1.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)
#C2AB0D
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b52d;
/* rgb */ color: rgb(165, 181, 45);
/* oklch */ color: oklch(73.7% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3cb71',
    500: '#a5b52d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52d;
$custom-light: #c3cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52d",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 67.059,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.15384,
    "h": 116.3
  },
  "luminance": 0.41237
}

Semantic roles & 50–950 ramp

primary
#A5B52D
secondary
#8076C7
accent
#44E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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