#A8B528#A8B528

#A8B528 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.155 H 115.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8B528
RGBrgb(168, 181, 40)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(7.2%, 0%, 77.9%, 29%)
CIE-LABlab(70.54, -21.41, 64.48)
CIE-LCHlch(70.54, 67.94, 108.37°)
OKLaboklab(73.87% -0.0657 0.1409)
OKLCHoklch(73.87% 0.155 115)
XYZxyz(33.0563, 41.5264, 8.2811)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B528 #3528B5
analogous
#B57B28 #A8B528 #61B528
triadic
#A8B528 #28A8B5 #B528A8
tetradic
#A8B528 #28B57B #3528B5 #B52861
square
#A8B528 #28B57B #3528B5 #B52861
split-complementary
#A8B528 #2861B5 #7B28B5
monochromatic
#4B5112 #79831D #A8B528 #C8D644 #D7E177

Accessibility & contrast

On white

2.26
#A8B528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A8B528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B528
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B528#FFFFFF#000000##000000
##A8B5281.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b528;
/* rgb */ color: rgb(168, 181, 40);
/* oklch */ color: oklch(73.9% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c6cb6e',
    500: '#a8b528',
    950: '#000000',
  },
}
SCSS
$custom: #a8b528;
$custom-light: #c6cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b528",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 65.532,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.15547,
    "h": 115
  },
  "luminance": 0.41526
}

Semantic roles & 50–950 ramp

primary
#A8B528
secondary
#7870C8
accent
#41E750
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B528

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

Preview Lab → · Contrast checker → · Palette generator →

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