#A3BA28#A3BA28

#A3BA28 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.6% C 0.163 H 118.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#A3BA28
RGBrgb(163, 186, 40)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 78%, 73%)
CMYKcmyk(12.4%, 0%, 78.5%, 27.1%)
CIE-LABlab(71.59, -25.97, 65.29)
CIE-LCHlch(71.59, 70.27, 111.69°)
OKLaboklab(74.63% -0.078 0.1428)
OKLCHoklch(74.63% 0.163 118.7)
XYZxyz(33.0469, 43.0578, 8.5771)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3BA28 #3F28BA
analogous
#BA8828 #A3BA28 #5ABA28
triadic
#A3BA28 #28A3BA #BA28A3
tetradic
#A3BA28 #28BA88 #3F28BA #BA285A
square
#A3BA28 #28BA88 #3F28BA #BA285A
split-complementary
#A3BA28 #285ABA #8828BA
monochromatic
#4B5512 #77881D #A3BA28 #C1D848 #D2E27A

Accessibility & contrast

On white

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

On black

9.61
#A3BA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3BA28
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3BA28#FFFFFF#000000##000000
##A3BA281.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#ADB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a3ba28;
/* rgb */ color: rgb(163, 186, 40);
/* oklch */ color: oklch(74.6% 0.163 118.7);
Tailwind
colors: {
  custom: {
    50: '#c2ce6f',
    500: '#a3ba28',
    950: '#000000',
  },
}
SCSS
$custom: #a3ba28;
$custom-light: #c2ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a3ba28",
  "rgb": {
    "r": 163,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 69.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74626,
    "c": 0.16274,
    "h": 118.7
  },
  "luminance": 0.43058
}

Semantic roles & 50–950 ramp

primary
#A3BA28
secondary
#8173CA
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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