#B2AD2B#B2AD2B

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

Color values

HEX#B2AD2B
RGBrgb(178, 173, 43)
HSLhsl(58, 61%, 43%)
HSVhsv(58, 76%, 70%)
CMYKcmyk(0%, 2.8%, 75.8%, 30.2%)
CIE-LABlab(69.13, -12.91, 62.54)
CIE-LCHlch(69.13, 63.85, 101.67°)
OKLaboklab(72.95% -0.0424 0.1369)
OKLCHoklch(72.95% 0.143 107.2)
XYZxyz(33.7411, 39.5277, 8.1373)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD2B #2B30B2
analogous
#B2692B #B2AD2B #73B22B
triadic
#B2AD2B #2BB2AD #AD2BB2
tetradic
#B2AD2B #2BB269 #2B30B2 #B22B73
square
#B2AD2B #2BB269 #2B30B2 #B22B73
split-complementary
#B2AD2B #2B73B2 #692BB2
monochromatic
#4F4D13 #817D1F #B2AD2B #D3CE48 #DFDB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AD2B#FFFFFF#000000##000000
##B2AD2B1.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)
#BCA60C
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad2b;
/* rgb */ color: rgb(178, 173, 43);
/* oklch */ color: oklch(72.9% 0.143 107.2);
Tailwind
colors: {
  custom: {
    50: '#cdc56f',
    500: '#b2ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad2b;
$custom-light: #cdc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad2b",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 57.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72947,
    "c": 0.14334,
    "h": 107.2
  },
  "luminance": 0.39527
}

Semantic roles & 50–950 ramp

primary
#B2AD2B
secondary
#7275C7
accent
#4AE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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