#B2AD48#B2AD48

#B2AD48 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.123 H 106.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B2AD48
RGBrgb(178, 173, 72)
HSLhsl(57, 42%, 49%)
HSVhsv(57, 60%, 70%)
CMYKcmyk(0%, 2.8%, 59.6%, 30.2%)
CIE-LABlab(69.34, -11.27, 51.25)
CIE-LCHlch(69.34, 52.48, 102.41°)
OKLaboklab(73.18% -0.0347 0.1179)
OKLCHoklch(73.18% 0.123 106.4)
XYZxyz(34.4745, 39.8211, 11.9999)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD48 #484DB2
analogous
#B27848 #B2AD48 #82B248
triadic
#B2AD48 #48B2AD #AD48B2
tetradic
#B2AD48 #48B278 #484DB2 #B24882
square
#B2AD48 #48B278 #484DB2 #B24882
split-complementary
#B2AD48 #4882B2 #7848B2
monochromatic
#5B5825 #868336 #B2AD48 #C6C271 #D7D59D

Accessibility & contrast

On white

2.34
#B2AD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B2AD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD48
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD48#FFFFFF#000000##000000
##B2AD481.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ad48;
/* rgb */ color: rgb(178, 173, 72);
/* oklch */ color: oklch(73.2% 0.123 106.4);
Tailwind
colors: {
  custom: {
    50: '#ccc57f',
    500: '#b2ad48',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad48;
$custom-light: #ccc57f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad48",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 72
  },
  "hsl": {
    "h": 57.17,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73181,
    "c": 0.12286,
    "h": 106.4
  },
  "luminance": 0.3982
}

Semantic roles & 50–950 ramp

primary
#B2AD48
secondary
#9294C4
accent
#5BD256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AD48

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

Preview Lab → · Contrast checker → · Palette generator →

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