#A5B548#A5B548

#A5B548 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.135 H 116.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A5B548
RGBrgb(165, 181, 72)
HSLhsl(69, 43%, 50%)
HSVhsv(69, 60%, 71%)
CMYKcmyk(8.8%, 0%, 60.2%, 29%)
CIE-LABlab(70.54, -20.83, 52.27)
CIE-LCHlch(70.54, 56.27, 111.72°)
OKLaboklab(73.88% -0.0609 0.1203)
OKLCHoklch(73.88% 0.135 116.9)
XYZxyz(33.2112, 41.5153, 12.3933)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B548 #5848B5
analogous
#B58E48 #A5B548 #6FB548
triadic
#A5B548 #48A5B5 #B548A5
tetradic
#A5B548 #48B58E #5848B5 #B5486F
square
#A5B548 #48B58E #5848B5 #B5486F
split-complementary
#A5B548 #486FB5 #8E48B5
monochromatic
#555D25 #7D8937 #A5B548 #BBC773 #D0D99F

Accessibility & contrast

On white

2.26
#A5B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A5B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B548
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B548#FFFFFF#000000##000000
##A5B5481.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#AEAC9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b548;
/* rgb */ color: rgb(165, 181, 72);
/* oklch */ color: oklch(73.9% 0.135 116.9);
Tailwind
colors: {
  custom: {
    50: '#c2cb7f',
    500: '#a5b548',
    950: '#000000',
  },
}
SCSS
$custom: #a5b548;
$custom-light: #c2cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b548",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 68.807,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73881,
    "c": 0.13484,
    "h": 116.9
  },
  "luminance": 0.41515
}

Semantic roles & 50–950 ramp

primary
#A5B548
secondary
#9B93C5
accent
#55D367
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B548

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

Preview Lab → · Contrast checker → · Palette generator →

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