#B2AD3A#B2AD3A

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

Color values

HEX#B2AD3A
RGBrgb(178, 173, 58)
HSLhsl(58, 51%, 46%)
HSVhsv(58, 67%, 70%)
CMYKcmyk(0%, 2.8%, 67.4%, 30.2%)
CIE-LABlab(69.23, -12.18, 57.12)
CIE-LCHlch(69.23, 58.40, 102.03°)
OKLaboklab(73.05% -0.0388 0.1282)
OKLCHoklch(73.05% 0.134 106.9)
XYZxyz(34.0686, 39.6587, 9.8625)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD3A #3A3FB2
analogous
#B2713A #B2AD3A #7BB23A
triadic
#B2AD3A #3AB2AD #AD3AB2
tetradic
#B2AD3A #3AB271 #3A3FB2 #B23A7B
square
#B2AD3A #3AB271 #3A3FB2 #B23A7B
split-complementary
#B2AD3A #3A7BB2 #713AB2
monochromatic
#56531C #84802B #B2AD3A #CBC65F #DAD78D

Accessibility & contrast

On white

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

On black

8.93
#B2AD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD3A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD3A#FFFFFF#000000##000000
##B2AD3A1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad3a;
/* rgb */ color: rgb(178, 173, 58);
/* oklch */ color: oklch(73.1% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#ccc577',
    500: '#b2ad3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad3a;
$custom-light: #ccc577;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad3a",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 57.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73052,
    "c": 0.13392,
    "h": 106.9
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#B2AD3A
secondary
#8386C4
accent
#53DA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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