#A5B22D#A5B22D

#A5B22D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.151 H 115.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A5B22D
RGBrgb(165, 178, 45)
HSLhsl(66, 60%, 44%)
HSVhsv(66, 75%, 70%)
CMYKcmyk(7.3%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.49, -20.98, 61.83)
CIE-LCHlch(69.49, 65.29, 108.74°)
OKLaboklab(72.98% -0.064 0.1363)
OKLCHoklch(72.98% 0.151 115.1)
XYZxyz(31.9120, 40.0301, 8.5276)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B22D #3A2DB2
analogous
#B27C2D #A5B22D #62B22D
triadic
#A5B22D #2DA5B2 #B22DA5
tetradic
#A5B22D #2DB27C #3A2DB2 #B22D62
square
#A5B22D #2DB27C #3A2DB2 #B22D62
split-complementary
#A5B22D #2D62B2 #7C2DB2
monochromatic
#4A5014 #788121 #A5B22D #C4D14B #D4DE7C

Accessibility & contrast

On white

2.33
#A5B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A5B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B22D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B22D#FFFFFF#000000##000000
##A5B22D1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b22d;
/* rgb */ color: rgb(165, 178, 45);
/* oklch */ color: oklch(73.0% 0.151 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c870',
    500: '#a5b22d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b22d;
$custom-light: #c3c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b22d",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 65.865,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.15053,
    "h": 115.1
  },
  "luminance": 0.4003
}

Semantic roles & 50–950 ramp

primary
#A5B22D
secondary
#7D75C6
accent
#45E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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