#B2AD42#B2AD42

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

Color values

HEX#B2AD42
RGBrgb(178, 173, 66)
HSLhsl(57, 46%, 48%)
HSVhsv(57, 63%, 70%)
CMYKcmyk(0%, 2.8%, 62.9%, 30.2%)
CIE-LABlab(69.29, -11.69, 53.85)
CIE-LCHlch(69.29, 55.10, 102.25°)
OKLaboklab(73.12% -0.0366 0.1225)
OKLCHoklch(73.12% 0.128 106.6)
XYZxyz(34.2882, 39.7466, 11.0189)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD42 #4247B2
analogous
#B27542 #B2AD42 #7FB242
triadic
#B2AD42 #42B2AD #AD42B2
tetradic
#B2AD42 #42B275 #4247B2 #B2427F
square
#B2AD42 #42B275 #4247B2 #B2427F
split-complementary
#B2AD42 #427FB2 #7542B2
monochromatic
#595621 #858231 #B2AD42 #C8C36A #D8D596

Accessibility & contrast

On white

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

On black

8.95
#B2AD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD42
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD42#FFFFFF#000000##000000
##B2AD421.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#BEA297
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad42;
/* rgb */ color: rgb(178, 173, 66);
/* oklch */ color: oklch(73.1% 0.128 106.6);
Tailwind
colors: {
  custom: {
    50: '#ccc57b',
    500: '#b2ad42',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad42;
$custom-light: #ccc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad42",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 57.321,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73122,
    "c": 0.12786,
    "h": 106.6
  },
  "luminance": 0.39745
}

Semantic roles & 50–950 ramp

primary
#B2AD42
secondary
#8C8EC4
accent
#58D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AD42

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

Preview Lab → · Contrast checker → · Palette generator →

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