#B2AD28#B2AD28

#B2AD28 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.145 H 107.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B2AD28
RGBrgb(178, 173, 40)
HSLhsl(58, 63%, 43%)
HSVhsv(58, 78%, 70%)
CMYKcmyk(0%, 2.8%, 77.5%, 30.2%)
CIE-LABlab(69.12, -13.03, 63.48)
CIE-LCHlch(69.12, 64.81, 101.60°)
OKLaboklab(72.93% -0.043 0.1384)
OKLCHoklch(72.93% 0.145 107.2)
XYZxyz(33.6881, 39.5065, 7.8581)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD28 #282DB2
analogous
#B26828 #B2AD28 #72B228
triadic
#B2AD28 #28B2AD #AD28B2
tetradic
#B2AD28 #28B268 #282DB2 #B22872
square
#B2AD28 #28B268 #282DB2 #B22872
split-complementary
#B2AD28 #2872B2 #6828B2
monochromatic
#4E4C12 #807C1D #B2AD28 #D5CF43 #E0DC75

Accessibility & contrast

On white

2.36
#B2AD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B2AD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD28
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD28#FFFFFF#000000##000000
##B2AD281.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA602
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#BFA194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad28;
/* rgb */ color: rgb(178, 173, 40);
/* oklch */ color: oklch(72.9% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#cdc56e',
    500: '#b2ad28',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad28;
$custom-light: #cdc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad28",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 57.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7293,
    "c": 0.14492,
    "h": 107.2
  },
  "luminance": 0.39505
}

Semantic roles & 50–950 ramp

primary
#B2AD28
secondary
#6F72C7
accent
#47E641
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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