#A5B031#A5B031

#A5B031 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.146 H 114.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A5B031
RGBrgb(165, 176, 49)
HSLhsl(65, 56%, 44%)
HSVhsv(65, 72%, 69%)
CMYKcmyk(6.2%, 0%, 72.2%, 31%)
CIE-LABlab(68.95, -19.78, 59.92)
CIE-LCHlch(68.95, 63.10, 108.27°)
OKLaboklab(72.55% -0.0603 0.133)
OKLCHoklch(72.55% 0.146 114.4)
XYZxyz(31.5977, 39.2723, 8.8209)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B031 #3C31B0
analogous
#B07C31 #A5B031 #66B031
triadic
#A5B031 #31A5B0 #B031A5
tetradic
#A5B031 #31B07C #3C31B0 #B03166
square
#A5B031 #31B07C #3C31B0 #B03166
split-complementary
#A5B031 #3166B0 #7C31B0
monochromatic
#4B5016 #788024 #A5B031 #C3CE50 #D4DC80

Accessibility & contrast

On white

2.37
#A5B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A5B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B031
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B031#FFFFFF#000000##000000
##A5B0311.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b031;
/* rgb */ color: rgb(165, 176, 49);
/* oklch */ color: oklch(72.6% 0.146 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c772',
    500: '#a5b031',
    950: '#000000',
  },
}
SCSS
$custom: #a5b031;
$custom-light: #c3c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b031",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 65.197,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72552,
    "c": 0.14598,
    "h": 114.4
  },
  "luminance": 0.39272
}

Semantic roles & 50–950 ramp

primary
#A5B031
secondary
#7F78C5
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B031

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

Preview Lab → · Contrast checker → · Palette generator →

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