#A5B537#A5B537

#A5B537 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.148 H 116.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A5B537
RGBrgb(165, 181, 55)
HSLhsl(68, 53%, 46%)
HSVhsv(68, 70%, 71%)
CMYKcmyk(8.8%, 0%, 69.6%, 29%)
CIE-LABlab(70.40, -21.96, 59.14)
CIE-LCHlch(70.40, 63.08, 110.37°)
OKLaboklab(73.73% -0.0658 0.1323)
OKLCHoklch(73.73% 0.148 116.4)
XYZxyz(32.7313, 41.3234, 9.8656)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B537 #4737B5
analogous
#B58637 #A5B537 #66B537
triadic
#A5B537 #37A5B5 #B537A5
tetradic
#A5B537 #37B586 #4737B5 #B53766
square
#A5B537 #37B586 #4737B5 #B53766
split-complementary
#A5B537 #3766B5 #8637B5
monochromatic
#4F571A #7A8629 #A5B537 #BFCD5C #D1DC8B

Accessibility & contrast

On white

2.27
#A5B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A5B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B537
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B537#FFFFFF#000000##000000
##A5B5371.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC23
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b537;
/* rgb */ color: rgb(165, 181, 55);
/* oklch */ color: oklch(73.7% 0.148 116.4);
Tailwind
colors: {
  custom: {
    50: '#c3cb76',
    500: '#a5b537',
    950: '#000000',
  },
}
SCSS
$custom: #a5b537;
$custom-light: #c3cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b537",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 67.619,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73731,
    "c": 0.14774,
    "h": 116.4
  },
  "luminance": 0.41323
}

Semantic roles & 50–950 ramp

primary
#A5B537
secondary
#8B82C6
accent
#4BDD5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B537

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

Preview Lab → · Contrast checker → · Palette generator →

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