#A0B428#A0B428

#A0B428 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.157 H 117.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A0B428
RGBrgb(160, 180, 40)
HSLhsl(69, 64%, 43%)
HSVhsv(69, 78%, 71%)
CMYKcmyk(11.1%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.66, -24.31, 63.45)
CIE-LCHlch(69.66, 67.95, 110.96°)
OKLaboklab(73.02% -0.0733 0.139)
OKLCHoklch(73.02% 0.157 117.8)
XYZxyz(31.2022, 40.2696, 8.1362)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B428 #3C28B4
analogous
#B48228 #A0B428 #5AB428
triadic
#A0B428 #28A0B4 #B428A0
tetradic
#A0B428 #28B482 #3C28B4 #B4285A
square
#A0B428 #28B482 #3C28B4 #B4285A
split-complementary
#A0B428 #285AB4 #8228B4
monochromatic
#475012 #73821D #A0B428 #C1D544 #D1E176

Accessibility & contrast

On white

2.32
#A0B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A0B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B428
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B428#FFFFFF#000000##000000
##A0B4281.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#AAAA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b428;
/* rgb */ color: rgb(160, 180, 40);
/* oklch */ color: oklch(73.0% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#c0ca6e',
    500: '#a0b428',
    950: '#000000',
  },
}
SCSS
$custom: #a0b428;
$custom-light: #c0ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b428",
  "rgb": {
    "r": 160,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 68.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73016,
    "c": 0.15714,
    "h": 117.8
  },
  "luminance": 0.40269
}

Semantic roles & 50–950 ramp

primary
#A0B428
secondary
#7C70C8
accent
#41E759
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B428

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

Preview Lab → · Contrast checker → · Palette generator →

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