#A5B536#A5B536

#A5B536 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#A5B536
RGBrgb(165, 181, 54)
HSLhsl(68, 54%, 46%)
HSVhsv(68, 70%, 71%)
CMYKcmyk(8.8%, 0%, 70.2%, 29%)
CIE-LABlab(70.40, -22.01, 59.51)
CIE-LCHlch(70.40, 63.45, 110.30°)
OKLaboklab(73.72% -0.066 0.1329)
OKLCHoklch(73.72% 0.148 116.4)
XYZxyz(32.7076, 41.3139, 9.7407)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B536 #4636B5
analogous
#B58536 #A5B536 #65B536
triadic
#A5B536 #36A5B5 #B536A5
tetradic
#A5B536 #36B585 #4636B5 #B53665
square
#A5B536 #36B585 #4636B5 #B53665
split-complementary
#A5B536 #3665B5 #8536B5
monochromatic
#4F571A #7A8628 #A5B536 #BFCE5A #D2DC89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B536#FFFFFF#000000##000000
##A5B5361.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)
#C1AC21
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b536;
/* rgb */ color: rgb(165, 181, 54);
/* oklch */ color: oklch(73.7% 0.148 116.4);
Tailwind
colors: {
  custom: {
    50: '#c3cb75',
    500: '#a5b536',
    950: '#000000',
  },
}
SCSS
$custom: #a5b536;
$custom-light: #c3cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b536",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 67.559,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73724,
    "c": 0.14841,
    "h": 116.4
  },
  "luminance": 0.41313
}

Semantic roles & 50–950 ramp

primary
#A5B536
secondary
#8981C6
accent
#4ADD5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B536

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

Preview Lab → · Contrast checker → · Palette generator →

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