#B2AD40#B2AD40

#B2AD40 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.129 H 106.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B2AD40
RGBrgb(178, 173, 64)
HSLhsl(57, 47%, 47%)
HSVhsv(57, 64%, 70%)
CMYKcmyk(0%, 2.8%, 64%, 30.2%)
CIE-LABlab(69.27, -11.82, 54.69)
CIE-LCHlch(69.27, 55.95, 102.19°)
OKLaboklab(73.1% -0.0371 0.124)
OKLCHoklch(73.1% 0.129 106.7)
XYZxyz(34.2303, 39.7234, 10.7138)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD40 #4045B2
analogous
#B27440 #B2AD40 #7EB240
triadic
#B2AD40 #40B2AD #AD40B2
tetradic
#B2AD40 #40B274 #4045B2 #B2407E
square
#B2AD40 #40B274 #4045B2 #B2407E
split-complementary
#B2AD40 #407EB2 #7440B2
monochromatic
#585520 #858130 #B2AD40 #C8C467 #D8D594

Accessibility & contrast

On white

2.35
#B2AD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#B2AD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD40
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD40#FFFFFF#000000##000000
##B2AD401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#BEA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad40;
/* rgb */ color: rgb(178, 173, 64);
/* oklch */ color: oklch(73.1% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#ccc57a',
    500: '#b2ad40',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad40;
$custom-light: #ccc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad40",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 57.368,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73103,
    "c": 0.12944,
    "h": 106.7
  },
  "luminance": 0.39722
}

Semantic roles & 50–950 ramp

primary
#B2AD40
secondary
#8A8CC4
accent
#57D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AD40

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

Preview Lab → · Contrast checker → · Palette generator →

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