#A5B049#A5B049

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

Color values

HEX#A5B049
RGBrgb(165, 176, 73)
HSLhsl(66, 41%, 49%)
HSVhsv(66, 59%, 69%)
CMYKcmyk(6.2%, 0%, 58.5%, 31%)
CIE-LABlab(69.13, -18.24, 50.28)
CIE-LCHlch(69.13, 53.48, 109.94°)
OKLaboklab(72.76% -0.0535 0.1162)
OKLCHoklch(72.76% 0.128 114.7)
XYZxyz(32.2457, 39.5315, 12.2337)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B049 #5449B0
analogous
#B08849 #A5B049 #72B049
triadic
#A5B049 #49A5B0 #B049A5
tetradic
#A5B049 #49B088 #5449B0 #B04972
square
#A5B049 #49B088 #5449B0 #B04972
split-complementary
#A5B049 #4972B0 #8849B0
monochromatic
#545925 #7C8537 #A5B049 #BCC472 #D0D69D

Accessibility & contrast

On white

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

On black

8.91
#A5B049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B049
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B049#FFFFFF#000000##000000
##A5B0491.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#BBAA4F
Tritanopia (blue-blind)
#AFA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b049;
/* rgb */ color: rgb(165, 176, 73);
/* oklch */ color: oklch(72.8% 0.128 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c780',
    500: '#a5b049',
    950: '#000000',
  },
}
SCSS
$custom: #a5b049;
$custom-light: #c2c780;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b049",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 73
  },
  "hsl": {
    "h": 66.408,
    "s": 41.365,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72762,
    "c": 0.12791,
    "h": 114.7
  },
  "luminance": 0.39531
}

Semantic roles & 50–950 ramp

primary
#A5B049
secondary
#9792C3
accent
#57D164
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B049

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

Preview Lab → · Contrast checker → · Palette generator →

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