#A5B535#A5B535

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

Color values

HEX#A5B535
RGBrgb(165, 181, 53)
HSLhsl(68, 55%, 46%)
HSVhsv(68, 71%, 71%)
CMYKcmyk(8.8%, 0%, 70.7%, 29%)
CIE-LABlab(70.39, -22.07, 59.87)
CIE-LCHlch(70.39, 63.81, 110.23°)
OKLaboklab(73.72% -0.0663 0.1335)
OKLCHoklch(73.72% 0.149 116.4)
XYZxyz(32.6843, 41.3046, 9.6183)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B535 #4535B5
analogous
#B58535 #A5B535 #65B535
triadic
#A5B535 #35A5B5 #B535A5
tetradic
#A5B535 #35B585 #4535B5 #B53565
square
#A5B535 #35B585 #4535B5 #B53565
split-complementary
#A5B535 #3565B5 #8535B5
monochromatic
#4F5619 #7A8627 #A5B535 #C0CE59 #D2DC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B535#FFFFFF#000000##000000
##A5B5351.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)
#C2AC1F
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#AFAB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b535;
/* rgb */ color: rgb(165, 181, 53);
/* oklch */ color: oklch(73.7% 0.149 116.4);
Tailwind
colors: {
  custom: {
    50: '#c3cb75',
    500: '#a5b535',
    950: '#000000',
  },
}
SCSS
$custom: #a5b535;
$custom-light: #c3cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b535",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 67.5,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73716,
    "c": 0.14906,
    "h": 116.4
  },
  "luminance": 0.41304
}

Semantic roles & 50–950 ramp

primary
#A5B535
secondary
#8880C6
accent
#4ADE5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B535

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

Preview Lab → · Contrast checker → · Palette generator →

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