#A5B837#A5B837

#A5B837 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.151 H 117.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A5B837
RGBrgb(165, 184, 55)
HSLhsl(69, 54%, 47%)
HSVhsv(69, 70%, 72%)
CMYKcmyk(10.3%, 0%, 70.1%, 27.8%)
CIE-LABlab(71.25, -23.44, 59.99)
CIE-LCHlch(71.25, 64.40, 111.34°)
OKLaboklab(74.41% -0.0699 0.1341)
OKLCHoklch(74.41% 0.151 117.5)
XYZxyz(33.3479, 42.5565, 10.0712)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B837 #4A37B8
analogous
#B88B37 #A5B837 #65B837
triadic
#A5B837 #37A5B8 #B837A5
tetradic
#A5B837 #37B88B #4A37B8 #B83765
square
#A5B837 #37B88B #4A37B8 #B83765
split-complementary
#A5B837 #3765B8 #8B37B8
monochromatic
#505A1B #7B8929 #A5B837 #BECF5D #D1DD8D

Accessibility & contrast

On white

2.21
#A5B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A5B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B837
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B837#FFFFFF#000000##000000
##A5B8371.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE22
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#AFAE9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b837;
/* rgb */ color: rgb(165, 184, 55);
/* oklch */ color: oklch(74.4% 0.151 117.5);
Tailwind
colors: {
  custom: {
    50: '#c3cd76',
    500: '#a5b837',
    950: '#000000',
  },
}
SCSS
$custom: #a5b837;
$custom-light: #c3cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b837",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 68.837,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74415,
    "c": 0.1512,
    "h": 117.5
  },
  "luminance": 0.42556
}

Semantic roles & 50–950 ramp

primary
#A5B837
secondary
#8E84C7
accent
#4ADD60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B837

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

Preview Lab → · Contrast checker → · Palette generator →

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