#A5BA23#A5BA23

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

Color values

HEX#A5BA23
RGBrgb(165, 186, 35)
HSLhsl(68, 68%, 43%)
HSVhsv(68, 81%, 73%)
CMYKcmyk(11.3%, 0%, 81.2%, 27.1%)
CIE-LABlab(71.72, -25.32, 66.85)
CIE-LCHlch(71.72, 71.49, 110.75°)
OKLaboklab(74.75% -0.0767 0.1452)
OKLCHoklch(74.75% 0.164 117.8)
XYZxyz(33.3802, 43.2388, 8.1772)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA23 #3823BA
analogous
#BA8323 #A5BA23 #5ABA23
triadic
#A5BA23 #23A5BA #BA23A5
tetradic
#A5BA23 #23BA83 #3823BA #BA235A
square
#A5BA23 #23BA83 #3823BA #BA235A
split-complementary
#A5BA23 #235ABA #8323BA
monochromatic
#4A5310 #778619 #A5BA23 #C5DB3F #D5E573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BA23#FFFFFF#000000##000000
##A5BA231.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)
#C5B033
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba23;
/* rgb */ color: rgb(165, 186, 35);
/* oklch */ color: oklch(74.8% 0.164 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4ce6d',
    500: '#a5ba23',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba23;
$custom-light: #c4ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba23",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 68.344,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.16423,
    "h": 117.8
  },
  "luminance": 0.43238
}

Semantic roles & 50–950 ramp

primary
#A5BA23
secondary
#7A6DCC
accent
#3DEB55
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA23

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

Preview Lab → · Contrast checker → · Palette generator →

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