#A8B428#A8B428

#A8B428 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.6% C 0.154 H 114.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A8B428
RGBrgb(168, 180, 40)
HSLhsl(65, 64%, 43%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6.7%, 0%, 77.8%, 29.4%)
CIE-LABlab(70.26, -20.91, 64.22)
CIE-LCHlch(70.26, 67.54, 108.04°)
OKLaboklab(73.65% -0.0643 0.1404)
OKLCHoklch(73.65% 0.154 114.6)
XYZxyz(32.8537, 41.1212, 8.2136)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B428 #3428B4
analogous
#B47A28 #A8B428 #62B428
triadic
#A8B428 #28A8B4 #B428A8
tetradic
#A8B428 #28B47A #3428B4 #B42862
square
#A8B428 #28B47A #3428B4 #B42862
split-complementary
#A8B428 #2862B4 #7A28B4
monochromatic
#4B5012 #79821D #A8B428 #C9D544 #D7E176

Accessibility & contrast

On white

2.28
#A8B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A8B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B428
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B428#FFFFFF#000000##000000
##A8B4281.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b428;
/* rgb */ color: rgb(168, 180, 40);
/* oklch */ color: oklch(73.6% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#c6ca6e',
    500: '#a8b428',
    950: '#000000',
  },
}
SCSS
$custom: #a8b428;
$custom-light: #c6ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b428",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 65.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73647,
    "c": 0.15439,
    "h": 114.6
  },
  "luminance": 0.41121
}

Semantic roles & 50–950 ramp

primary
#A8B428
secondary
#7770C8
accent
#41E74F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B428

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

Preview Lab → · Contrast checker → · Palette generator →

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