#A5B22C#A5B22C

#A5B22C 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.00:1 contrast (WCAG AA passes).

Color values

HEX#A5B22C
RGBrgb(165, 178, 44)
HSLhsl(66, 60%, 44%)
HSVhsv(66, 75%, 70%)
CMYKcmyk(7.3%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.49, -21.02, 62.16)
CIE-LCHlch(69.49, 65.62, 108.69°)
OKLaboklab(72.97% -0.0642 0.1368)
OKLCHoklch(72.97% 0.151 115.1)
XYZxyz(31.8930, 40.0225, 8.4274)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B22C #392CB2
analogous
#B27C2C #A5B22C #62B22C
triadic
#A5B22C #2CA5B2 #B22CA5
tetradic
#A5B22C #2CB27C #392CB2 #B22C62
square
#A5B22C #2CB27C #392CB2 #B22C62
split-complementary
#A5B22C #2C62B2 #7C2CB2
monochromatic
#4A5014 #788120 #A5B22C #C5D249 #D4DE7A

Accessibility & contrast

On white

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

On black

9.00
#A5B22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B22C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B22C#FFFFFF#000000##000000
##A5B22C1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b22c;
/* rgb */ color: rgb(165, 178, 44);
/* oklch */ color: oklch(73.0% 0.151 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c870',
    500: '#a5b22c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b22c;
$custom-light: #c3c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b22c",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 65.821,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.15109,
    "h": 115.1
  },
  "luminance": 0.40022
}

Semantic roles & 50–950 ramp

primary
#A5B22C
secondary
#7B73C6
accent
#44E454
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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