#A5B448#A5B448

#A5B448 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.134 H 116.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A5B448
RGBrgb(165, 180, 72)
HSLhsl(68, 43%, 49%)
HSVhsv(68, 60%, 71%)
CMYKcmyk(8.3%, 0%, 60%, 29.4%)
CIE-LABlab(70.25, -20.33, 51.96)
CIE-LCHlch(70.25, 55.80, 111.37°)
OKLaboklab(73.66% -0.0595 0.1196)
OKLCHoklch(73.66% 0.134 116.4)
XYZxyz(33.0086, 41.1101, 12.3258)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B448 #5748B4
analogous
#B48D48 #A5B448 #6FB448
triadic
#A5B448 #48A5B4 #B448A5
tetradic
#A5B448 #48B48D #5748B4 #B4486F
square
#A5B448 #48B48D #5748B4 #B4486F
split-complementary
#A5B448 #486FB4 #8D48B4
monochromatic
#555D25 #7D8837 #A5B448 #BBC772 #D0D89E

Accessibility & contrast

On white

2.28
#A5B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A5B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B448
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B448#FFFFFF#000000##000000
##A5B4481.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB3C
Deuteranopia (green-blind)
#BEAD4F
Tritanopia (blue-blind)
#AEAB9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b448;
/* rgb */ color: rgb(165, 180, 72);
/* oklch */ color: oklch(73.7% 0.134 116.4);
Tailwind
colors: {
  custom: {
    50: '#c2ca7f',
    500: '#a5b448',
    950: '#000000',
  },
}
SCSS
$custom: #a5b448;
$custom-light: #c2ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b448",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 68.333,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73655,
    "c": 0.13362,
    "h": 116.4
  },
  "luminance": 0.4111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5B448

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

Preview Lab → · Contrast checker → · Palette generator →

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