#A5BA35#A5BA35

#A5BA35 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.155 H 118.2°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A5BA35
RGBrgb(165, 186, 53)
HSLhsl(69, 56%, 47%)
HSVhsv(69, 72%, 73%)
CMYKcmyk(11.3%, 0%, 71.5%, 27.1%)
CIE-LABlab(71.81, -24.53, 61.27)
CIE-LCHlch(71.81, 66.00, 111.82°)
OKLaboklab(74.86% -0.0731 0.1365)
OKLCHoklch(74.86% 0.155 118.2)
XYZxyz(33.7193, 43.3745, 9.9632)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA35 #4A35BA
analogous
#BA8D35 #A5BA35 #62BA35
triadic
#A5BA35 #35A5BA #BA35A5
tetradic
#A5BA35 #35BA8D #4A35BA #BA3562
square
#A5BA35 #35BA8D #4A35BA #BA3562
split-complementary
#A5BA35 #3562BA #8D35BA
monochromatic
#505B1A #7B8A27 #A5BA35 #BED05C #D1DE8B

Accessibility & contrast

On white

2.17
#A5BA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A5BA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA35
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA35#FFFFFF#000000##000000
##A5BA351.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B01D
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba35;
/* rgb */ color: rgb(165, 186, 53);
/* oklch */ color: oklch(74.9% 0.155 118.2);
Tailwind
colors: {
  custom: {
    50: '#c3ce75',
    500: '#a5ba35',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba35;
$custom-light: #c3ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba35",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 69.474,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.1548,
    "h": 118.2
  },
  "luminance": 0.43374
}

Semantic roles & 50–950 ramp

primary
#A5BA35
secondary
#8E82C8
accent
#49DF61
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BA35

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

Preview Lab → · Contrast checker → · Palette generator →

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