#A5BA30#A5BA30

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

Color values

HEX#A5BA30
RGBrgb(165, 186, 48)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 73%)
CMYKcmyk(11.3%, 0%, 74.2%, 27.1%)
CIE-LABlab(71.78, -24.78, 62.98)
CIE-LCHlch(71.78, 67.69, 111.48°)
OKLaboklab(74.82% -0.0742 0.1392)
OKLCHoklch(74.82% 0.158 118.1)
XYZxyz(33.6102, 43.3309, 9.3888)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA30 #4530BA
analogous
#BA8A30 #A5BA30 #60BA30
triadic
#A5BA30 #30A5BA #BA30A5
tetradic
#A5BA30 #30BA8A #4530BA #BA3060
square
#A5BA30 #30BA8A #4530BA #BA3060
split-complementary
#A5BA30 #3060BA #8A30BA
monochromatic
#4F5917 #7A8923 #A5BA30 #C0D354 #D2DF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BA30#FFFFFF#000000##000000
##A5BA301.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)
#C7B012
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba30;
/* rgb */ color: rgb(165, 186, 48);
/* oklch */ color: oklch(74.8% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#c3ce73',
    500: '#a5ba30',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba30;
$custom-light: #c3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba30",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 69.13,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74824,
    "c": 0.15778,
    "h": 118.1
  },
  "luminance": 0.43331
}

Semantic roles & 50–950 ramp

primary
#A5BA30
secondary
#887DC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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