#A5B043#A5B043

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

Color values

HEX#A5B043
RGBrgb(165, 176, 67)
HSLhsl(66, 45%, 48%)
HSVhsv(66, 62%, 69%)
CMYKcmyk(6.2%, 0%, 61.9%, 31%)
CIE-LABlab(69.08, -18.69, 52.88)
CIE-LCHlch(69.08, 56.08, 109.46°)
OKLaboklab(72.7% -0.0554 0.1209)
OKLCHoklch(72.7% 0.133 114.6)
XYZxyz(32.0562, 39.4558, 11.2361)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B043 #4E43B0
analogous
#B08443 #A5B043 #6EB043
triadic
#A5B043 #43A5B0 #B043A5
tetradic
#A5B043 #43B084 #4E43B0 #B0436E
square
#A5B043 #43B084 #4E43B0 #B0436E
split-complementary
#A5B043 #436EB0 #8443B0
monochromatic
#525721 #7B8432 #A5B043 #BDC66A #D1D796

Accessibility & contrast

On white

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

On black

8.89
#A5B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B043
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B043#FFFFFF#000000##000000
##A5B0431.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b043;
/* rgb */ color: rgb(165, 176, 67);
/* oklch */ color: oklch(72.7% 0.133 114.6);
Tailwind
colors: {
  custom: {
    50: '#c2c77c',
    500: '#a5b043',
    950: '#000000',
  },
}
SCSS
$custom: #a5b043;
$custom-light: #c2c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b043",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 66.055,
    "s": 44.856,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72701,
    "c": 0.13302,
    "h": 114.6
  },
  "luminance": 0.39455
}

Semantic roles & 50–950 ramp

primary
#A5B043
secondary
#918CC3
accent
#53D560
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5B043

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

Preview Lab → · Contrast checker → · Palette generator →

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