#A5B42C#A5B42C

#A5B42C is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.153 H 115.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A5B42C
RGBrgb(165, 180, 44)
HSLhsl(67, 61%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.3%, 0%, 75.6%, 29.4%)
CIE-LABlab(70.05, -22.02, 62.69)
CIE-LCHlch(70.05, 66.44, 109.35°)
OKLaboklab(73.43% -0.0669 0.1379)
OKLCHoklch(73.43% 0.153 115.9)
XYZxyz(32.2938, 40.8242, 8.5610)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B42C #3B2CB4
analogous
#B47F2C #A5B42C #61B42C
triadic
#A5B42C #2CA5B4 #B42CA5
tetradic
#A5B42C #2CB47F #3B2CB4 #B42C61
square
#A5B42C #2CB47F #3B2CB4 #B42C61
split-complementary
#A5B42C #2C61B4 #7F2CB4
monochromatic
#4B5214 #788320 #A5B42C #C4D34A #D4DF7C

Accessibility & contrast

On white

2.29
#A5B42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A5B42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B42C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B42C#FFFFFF#000000##000000
##A5B42C1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA0A
Deuteranopia (green-blind)
#C0AC38
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b42c;
/* rgb */ color: rgb(165, 180, 44);
/* oklch */ color: oklch(73.4% 0.153 115.9);
Tailwind
colors: {
  custom: {
    50: '#c3ca70',
    500: '#a5b42c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b42c;
$custom-light: #c3ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b42c",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 66.618,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.15329,
    "h": 115.9
  },
  "luminance": 0.40824
}

Semantic roles & 50–950 ramp

primary
#A5B42C
secondary
#7E75C7
accent
#44E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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