#A5B034#A5B034

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

Color values

HEX#A5B034
RGBrgb(165, 176, 52)
HSLhsl(65, 54%, 45%)
HSVhsv(65, 70%, 69%)
CMYKcmyk(6.2%, 0%, 70.5%, 31%)
CIE-LABlab(68.97, -19.63, 58.84)
CIE-LCHlch(68.97, 62.03, 108.45°)
OKLaboklab(72.57% -0.0596 0.1312)
OKLCHoklch(72.57% 0.144 114.4)
XYZxyz(31.6631, 39.2985, 9.1656)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B034 #3F34B0
analogous
#B07D34 #A5B034 #67B034
triadic
#A5B034 #34A5B0 #B034A5
tetradic
#A5B034 #34B07D #3F34B0 #B03467
square
#A5B034 #34B07D #3F34B0 #B03467
split-complementary
#A5B034 #3467B0 #7D34B0
monochromatic
#4C5218 #798126 #A5B034 #C2CD55 #D3DB84

Accessibility & contrast

On white

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

On black

8.86
#A5B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B034
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B034#FFFFFF#000000##000000
##A5B0341.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71F
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#B0A698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b034;
/* rgb */ color: rgb(165, 176, 52);
/* oklch */ color: oklch(72.6% 0.144 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c774',
    500: '#a5b034',
    950: '#000000',
  },
}
SCSS
$custom: #a5b034;
$custom-light: #c3c774;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b034",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 65.323,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.14407,
    "h": 114.4
  },
  "luminance": 0.39298
}

Semantic roles & 50–950 ramp

primary
#A5B034
secondary
#827CC4
accent
#4ADE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B034

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

Preview Lab → · Contrast checker → · Palette generator →

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