#B2AD30#B2AD30

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

Color values

HEX#B2AD30
RGBrgb(178, 173, 48)
HSLhsl(58, 58%, 44%)
HSVhsv(58, 73%, 70%)
CMYKcmyk(0%, 2.8%, 73%, 30.2%)
CIE-LABlab(69.16, -12.69, 60.85)
CIE-LCHlch(69.16, 62.16, 101.78°)
OKLaboklab(72.98% -0.0413 0.1343)
OKLCHoklch(72.98% 0.14 107.1)
XYZxyz(33.8385, 39.5667, 8.6504)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD30 #3035B2
analogous
#B26C30 #B2AD30 #76B230
triadic
#B2AD30 #30B2AD #AD30B2
tetradic
#B2AD30 #30B26C #3035B2 #B23076
square
#B2AD30 #30B26C #3035B2 #B23076
split-complementary
#B2AD30 #3076B2 #6C30B2
monochromatic
#524F16 #827E23 #B2AD30 #D0CB50 #DDD980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AD30#FFFFFF#000000##000000
##B2AD301.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)
#BCA618
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#BFA195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad30;
/* rgb */ color: rgb(178, 173, 48);
/* oklch */ color: oklch(73.0% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#cdc571',
    500: '#b2ad30',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad30;
$custom-light: #cdc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad30",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 48
  },
  "hsl": {
    "h": 57.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72978,
    "c": 0.14049,
    "h": 107.1
  },
  "luminance": 0.39566
}

Semantic roles & 50–950 ramp

primary
#B2AD30
secondary
#787BC6
accent
#4DE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AD30

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

Preview Lab → · Contrast checker → · Palette generator →

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