#A5B027#A5B027

#A5B027 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.152 H 114.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A5B027
RGBrgb(165, 176, 39)
HSLhsl(65, 64%, 42%)
HSVhsv(65, 78%, 69%)
CMYKcmyk(6.2%, 0%, 77.8%, 31%)
CIE-LABlab(68.89, -20.24, 63.20)
CIE-LCHlch(68.89, 66.36, 107.76°)
OKLaboklab(72.49% -0.0624 0.1381)
OKLCHoklch(72.49% 0.152 114.3)
XYZxyz(31.4096, 39.1971, 7.8303)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B027 #3227B0
analogous
#B07727 #A5B027 #60B027
triadic
#A5B027 #27A5B0 #B027A5
tetradic
#A5B027 #27B077 #3227B0 #B02760
square
#A5B027 #27B077 #3227B0 #B02760
split-complementary
#A5B027 #2760B0 #7727B0
monochromatic
#474C11 #767E1C #A5B027 #C9D540 #D7E072

Accessibility & contrast

On white

2.38
#A5B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A5B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B027
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B027#FFFFFF#000000##000000
##A5B0271.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b027;
/* rgb */ color: rgb(165, 176, 39);
/* oklch */ color: oklch(72.5% 0.152 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76d',
    500: '#a5b027',
    950: '#000000',
  },
}
SCSS
$custom: #a5b027;
$custom-light: #c3c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b027",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 64.818,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72492,
    "c": 0.15155,
    "h": 114.3
  },
  "luminance": 0.39196
}

Semantic roles & 50–950 ramp

primary
#A5B027
secondary
#736CC7
accent
#41E74E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B027

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

Preview Lab → · Contrast checker → · Palette generator →

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