#A5BA25#A5BA25

#A5BA25 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.163 H 117.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#A5BA25
RGBrgb(165, 186, 37)
HSLhsl(68, 67%, 44%)
HSVhsv(68, 80%, 73%)
CMYKcmyk(11.3%, 0%, 80.1%, 27.1%)
CIE-LABlab(71.73, -25.25, 66.32)
CIE-LCHlch(71.73, 70.96, 110.84°)
OKLaboklab(74.76% -0.0764 0.1444)
OKLCHoklch(74.76% 0.163 117.9)
XYZxyz(33.4107, 43.2511, 8.3381)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA25 #3A25BA
analogous
#BA8425 #A5BA25 #5ABA25
triadic
#A5BA25 #25A5BA #BA25A5
tetradic
#A5BA25 #25BA84 #3A25BA #BA255A
square
#A5BA25 #25BA84 #3A25BA #BA255A
split-complementary
#A5BA25 #255ABA #8425BA
monochromatic
#4A5411 #78871B #A5BA25 #C4DA43 #D4E476

Accessibility & contrast

On white

2.18
#A5BA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#A5BA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA25
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA25#FFFFFF#000000##000000
##A5BA251.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba25;
/* rgb */ color: rgb(165, 186, 37);
/* oklch */ color: oklch(74.8% 0.163 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4ce6e',
    500: '#a5ba25',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba25;
$custom-light: #c4ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba25",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 37
  },
  "hsl": {
    "h": 68.456,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.16337,
    "h": 117.9
  },
  "luminance": 0.43251
}

Semantic roles & 50–950 ramp

primary
#A5BA25
secondary
#7D70CB
accent
#3EEA56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA25

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

Preview Lab → · Contrast checker → · Palette generator →

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