#A8B533#A8B533

#A8B533 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.149 H 115.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A8B533
RGBrgb(168, 181, 51)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 71%)
CMYKcmyk(7.2%, 0%, 71.8%, 29%)
CIE-LABlab(70.60, -20.91, 60.89)
CIE-LCHlch(70.60, 64.38, 108.95°)
OKLaboklab(73.94% -0.0634 0.1352)
OKLCHoklch(73.94% 0.149 115.1)
XYZxyz(33.2708, 41.6122, 9.4106)
Luminance0.4161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B533 #4033B5
analogous
#B58133 #A8B533 #67B533
triadic
#A8B533 #33A8B5 #B533A8
tetradic
#A8B533 #33B581 #4033B5 #B53367
square
#A8B533 #33B581 #4033B5 #B53367
split-complementary
#A8B533 #3367B5 #8133B5
monochromatic
#4F5618 #7C8526 #A8B533 #C3CF56 #D4DD86

Accessibility & contrast

On white

2.25
#A8B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A8B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B533
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B533#FFFFFF#000000##000000
##A8B5331.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#B3AA9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b533;
/* rgb */ color: rgb(168, 181, 51);
/* oklch */ color: oklch(73.9% 0.149 115.1);
Tailwind
colors: {
  custom: {
    50: '#c5cb74',
    500: '#a8b533',
    950: '#000000',
  },
}
SCSS
$custom: #a8b533;
$custom-light: #c5cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b533",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 66,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7394,
    "c": 0.14935,
    "h": 115.1
  },
  "luminance": 0.41612
}

Semantic roles & 50–950 ramp

primary
#A8B533
secondary
#857DC6
accent
#48DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B533

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

Preview Lab → · Contrast checker → · Palette generator →

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