#B2AD3F#B2AD3F

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

Color values

HEX#B2AD3F
RGBrgb(178, 173, 63)
HSLhsl(57, 48%, 47%)
HSVhsv(57, 65%, 70%)
CMYKcmyk(0%, 2.8%, 64.6%, 30.2%)
CIE-LABlab(69.26, -11.88, 55.10)
CIE-LCHlch(69.26, 56.37, 102.17°)
OKLaboklab(73.09% -0.0374 0.1247)
OKLCHoklch(73.09% 0.13 106.7)
XYZxyz(34.2021, 39.7121, 10.5652)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD3F #3F44B2
analogous
#B2733F #B2AD3F #7EB23F
triadic
#B2AD3F #3FB2AD #AD3FB2
tetradic
#B2AD3F #3FB273 #3F44B2 #B23F7E
square
#B2AD3F #3FB273 #3F44B2 #B23F7E
split-complementary
#B2AD3F #3F7EB2 #733FB2
monochromatic
#58551F #85812F #B2AD3F #C9C466 #D9D693

Accessibility & contrast

On white

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

On black

8.94
#B2AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD3F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD3F#FFFFFF#000000##000000
##B2AD3F1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ad3f;
/* rgb */ color: rgb(178, 173, 63);
/* oklch */ color: oklch(73.1% 0.130 106.7);
Tailwind
colors: {
  custom: {
    50: '#ccc57a',
    500: '#b2ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad3f;
$custom-light: #ccc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad3f",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 57.391,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73094,
    "c": 0.13022,
    "h": 106.7
  },
  "luminance": 0.39711
}

Semantic roles & 50–950 ramp

primary
#B2AD3F
secondary
#898BC4
accent
#56D750
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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