#B2AD2D#B2AD2D

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

Color values

HEX#B2AD2D
RGBrgb(178, 173, 45)
HSLhsl(58, 60%, 44%)
HSVhsv(58, 75%, 70%)
CMYKcmyk(0%, 2.8%, 74.7%, 30.2%)
CIE-LABlab(69.14, -12.83, 61.88)
CIE-LCHlch(69.14, 63.19, 101.71°)
OKLaboklab(72.96% -0.042 0.1359)
OKLCHoklch(72.96% 0.142 107.2)
XYZxyz(33.7787, 39.5428, 8.3353)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD2D #2D32B2
analogous
#B26A2D #B2AD2D #74B22D
triadic
#B2AD2D #2DB2AD #AD2DB2
tetradic
#B2AD2D #2DB26A #2D32B2 #B22D74
square
#B2AD2D #2DB26A #2D32B2 #B22D74
split-complementary
#B2AD2D #2D74B2 #6A2DB2
monochromatic
#504E14 #817E21 #B2AD2D #D1CC4B #DEDA7C

Accessibility & contrast

On white

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

On black

8.91
#B2AD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD2D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD2D#FFFFFF#000000##000000
##B2AD2D1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA611
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad2d;
/* rgb */ color: rgb(178, 173, 45);
/* oklch */ color: oklch(73.0% 0.142 107.2);
Tailwind
colors: {
  custom: {
    50: '#cdc570',
    500: '#b2ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad2d;
$custom-light: #cdc570;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad2d",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 57.744,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.14224,
    "h": 107.2
  },
  "luminance": 0.39542
}

Semantic roles & 50–950 ramp

primary
#B2AD2D
secondary
#7578C6
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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