#A5B045#A5B045

#A5B045 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.131 H 114.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A5B045
RGBrgb(165, 176, 69)
HSLhsl(66, 44%, 48%)
HSVhsv(66, 61%, 69%)
CMYKcmyk(6.2%, 0%, 60.8%, 31%)
CIE-LABlab(69.10, -18.54, 52.02)
CIE-LCHlch(69.10, 55.23, 109.62°)
OKLaboklab(72.72% -0.0548 0.1194)
OKLCHoklch(72.72% 0.131 114.7)
XYZxyz(32.1173, 39.4802, 11.5576)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B045 #5045B0
analogous
#B08545 #A5B045 #70B045
triadic
#A5B045 #45A5B0 #B045A5
tetradic
#A5B045 #45B085 #5045B0 #B04570
square
#A5B045 #45B085 #5045B0 #B04570
split-complementary
#A5B045 #4570B0 #8545B0
monochromatic
#535823 #7C8434 #A5B045 #BCC66D #D0D799

Accessibility & contrast

On white

2.36
#A5B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A5B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B045
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B045#FFFFFF#000000##000000
##A5B0451.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#BBAA4C
Tritanopia (blue-blind)
#AFA699
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b045;
/* rgb */ color: rgb(165, 176, 69);
/* oklch */ color: oklch(72.7% 0.131 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c77d',
    500: '#a5b045',
    950: '#000000',
  },
}
SCSS
$custom: #a5b045;
$custom-light: #c2c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b045",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 66.168,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.13135,
    "h": 114.7
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#A5B045
secondary
#938EC3
accent
#54D361
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B045

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

Preview Lab → · Contrast checker → · Palette generator →

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