#B2AD25#B2AD25

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

Color values

HEX#B2AD25
RGBrgb(178, 173, 37)
HSLhsl(58, 66%, 42%)
HSVhsv(58, 79%, 70%)
CMYKcmyk(0%, 2.8%, 79.2%, 30.2%)
CIE-LABlab(69.10, -13.15, 64.38)
CIE-LCHlch(69.10, 65.71, 101.54°)
OKLaboklab(72.91% -0.0435 0.1398)
OKLCHoklch(72.91% 0.146 107.3)
XYZxyz(33.6390, 39.4869, 7.5997)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD25 #252AB2
analogous
#B26625 #B2AD25 #71B225
triadic
#B2AD25 #25B2AD #AD25B2
tetradic
#B2AD25 #25B266 #252AB2 #B22571
square
#B2AD25 #25B266 #252AB2 #B22571
split-complementary
#B2AD25 #2571B2 #6625B2
monochromatic
#4D4B10 #7F7C1A #B2AD25 #D7D13D #E1DD70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AD25#FFFFFF#000000##000000
##B2AD251.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)
#BCA600
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#BFA194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad25;
/* rgb */ color: rgb(178, 173, 37);
/* oklch */ color: oklch(72.9% 0.146 107.3);
Tailwind
colors: {
  custom: {
    50: '#cdc56c',
    500: '#b2ad25',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad25;
$custom-light: #cdc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad25",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 37
  },
  "hsl": {
    "h": 57.872,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.14638,
    "h": 107.3
  },
  "luminance": 0.39486
}

Semantic roles & 50–950 ramp

primary
#B2AD25
secondary
#6B6EC8
accent
#45E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD25

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

Preview Lab → · Contrast checker → · Palette generator →

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