#A5B048#A5B048

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

Color values

HEX#A5B048
RGBrgb(165, 176, 72)
HSLhsl(66, 42%, 49%)
HSVhsv(66, 59%, 69%)
CMYKcmyk(6.2%, 0%, 59.1%, 31%)
CIE-LABlab(69.13, -18.31, 50.72)
CIE-LCHlch(69.13, 53.92, 109.85°)
OKLaboklab(72.75% -0.0538 0.117)
OKLCHoklch(72.75% 0.129 114.7)
XYZxyz(32.2128, 39.5184, 12.0605)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B048 #5348B0
analogous
#B08748 #A5B048 #71B048
triadic
#A5B048 #48A5B0 #B048A5
tetradic
#A5B048 #48B087 #5348B0 #B04871
square
#A5B048 #48B087 #5348B0 #B04871
split-complementary
#A5B048 #4871B0 #8748B0
monochromatic
#545924 #7C8536 #A5B048 #BCC570 #D0D69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B048#FFFFFF#000000##000000
##A5B0481.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)
#BCA83C
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#AFA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b048;
/* rgb */ color: rgb(165, 176, 72);
/* oklch */ color: oklch(72.8% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c77f',
    500: '#a5b048',
    950: '#000000',
  },
}
SCSS
$custom: #a5b048;
$custom-light: #c2c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b048",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 66.346,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.12878,
    "h": 114.7
  },
  "luminance": 0.39518
}

Semantic roles & 50–950 ramp

primary
#A5B048
secondary
#9691C3
accent
#56D263
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B048

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

Preview Lab → · Contrast checker → · Palette generator →

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