#A5B351#A5B351

#A5B351 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.124 H 116.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A5B351
RGBrgb(165, 179, 81)
HSLhsl(69, 39%, 51%)
HSVhsv(69, 55%, 70%)
CMYKcmyk(7.8%, 0%, 54.7%, 29.8%)
CIE-LABlab(70.06, -19.09, 47.63)
CIE-LCHlch(70.06, 51.31, 111.84°)
OKLaboklab(73.53% -0.0551 0.1114)
OKLCHoklch(73.53% 0.124 116.3)
XYZxyz(33.1229, 40.8340, 13.9198)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B351 #5F51B3
analogous
#B39051 #A5B351 #74B351
triadic
#A5B351 #51A5B3 #B351A5
tetradic
#A5B351 #51B390 #5F51B3 #B35174
square
#A5B351 #51B390 #5F51B3 #B35174
split-complementary
#A5B351 #5174B3 #9051B3
monochromatic
#58602A #7F8A3C #A5B351 #BBC67C #D1D8A6

Accessibility & contrast

On white

2.29
#A5B351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A5B351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B351
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B351#FFFFFF#000000##000000
##A5B3511.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB47
Deuteranopia (green-blind)
#BDAC57
Tritanopia (blue-blind)
#AEAA9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b351;
/* rgb */ color: rgb(165, 179, 81);
/* oklch */ color: oklch(73.5% 0.124 116.3);
Tailwind
colors: {
  custom: {
    50: '#c2c985',
    500: '#a5b351',
    950: '#000000',
  },
}
SCSS
$custom: #a5b351;
$custom-light: #c2c985;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b351",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 68.571,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73528,
    "c": 0.12429,
    "h": 116.3
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#A5B351
secondary
#A09AC6
accent
#59CF6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B351

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

Preview Lab → · Contrast checker → · Palette generator →

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