#A5B450#A5B450

#A5B450 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.126 H 116.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5B450
RGBrgb(165, 180, 80)
HSLhsl(69, 40%, 51%)
HSVhsv(69, 56%, 71%)
CMYKcmyk(8.3%, 0%, 55.6%, 29.4%)
CIE-LABlab(70.33, -19.68, 48.41)
CIE-LCHlch(70.33, 52.25, 112.12°)
OKLaboklab(73.74% -0.0569 0.113)
OKLCHoklch(73.74% 0.126 116.7)
XYZxyz(33.2868, 41.2214, 13.7908)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B450 #5F50B4
analogous
#B49150 #A5B450 #73B450
triadic
#A5B450 #50A5B4 #B450A5
tetradic
#A5B450 #50B491 #5F50B4 #B45073
square
#A5B450 #50B491 #5F50B4 #B45073
split-complementary
#A5B450 #5073B4 #9150B4
monochromatic
#586029 #7F8B3C #A5B450 #BBC67B #D1D9A6

Accessibility & contrast

On white

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

On black

9.24
#A5B450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B450
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B450#FFFFFF#000000##000000
##A5B4501.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC46
Deuteranopia (green-blind)
#BEAD56
Tritanopia (blue-blind)
#AEAB9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b450;
/* rgb */ color: rgb(165, 180, 80);
/* oklch */ color: oklch(73.7% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#c2ca84',
    500: '#a5b450',
    950: '#000000',
  },
}
SCSS
$custom: #a5b450;
$custom-light: #c2ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b450",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 69,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.12648,
    "h": 116.7
  },
  "luminance": 0.41221
}

Semantic roles & 50–950 ramp

primary
#A5B450
secondary
#A09AC6
accent
#58D06A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B450

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

Preview Lab → · Contrast checker → · Palette generator →

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